GithubHelp home page GithubHelp logo

martintiangco / connectfour-enggen131 Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 115 KB

This is a project in The University of Auckland's Bachelor of Engineering (Honours) degree in course named 'ENGGEN 131: Introduction to Engineering Computation and Software Development'. It is a customized 'Connect Four' game played in the console.

C 100.00%

connectfour-enggen131's Introduction

Connect Four - ENGGEN 131

This is a project in The University of Auckland's Bachelor of Engineering (Honours) degree in course named 'ENGGEN 131: Introduction to Engineering Computation and Software Development'. It is a customized 'Connect Four' game played in the console.

How it works:

The player selects the option to play a game, with either another player or a bot (he could also play a bot vs bot game).

The board below is of size 10. There are four sides where you can place the counter, North N, West W, East E and South S. When placed in a side, the counter slides in the direction of the placement until the counter hits either a boundary or another counter.

There is a block of boundary blocks in the middle of the block. From board size 5 to 10, there are boundary blocks (with the appropriate number of blocks) in the middle.

Screenshots:

Turn 0:
  • The board size is 8.
  • The mode is Player vs. Player.
  • The board is initialised. Note the four boundary blocks in the middle.

Board size of 8, Player vs. Player, Initialising the board

Turn 1:
  • Player 1 places their counter at N5.
  • Note where the counter has stopped.

Player 1 places the counter at North 5 (N5)

The game is won when one player successfully places four counters (like a regular Connect Four game) horizontally, vertically or diagonally.

connectfour-enggen131's People

Contributors

martintiangco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.