Skip to content

CLI based Connect 4 game written in both C and MIPS Assembly

License

Notifications You must be signed in to change notification settings

i0nics/connect-four-mips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License LinkedIn

Connect Four

CLI based Connect 4 game written in both C and MIPS Assembly

Table of Contents

About The Project

This program was originally written in C and then completely converted to MIPS Assembly Language. In this game, the player is presented with a 9-column, 6-row board. At the beginning, the first and last columns are populated with alternating player tokens. The computer will randomly pick which player (the human or the computer) moves first. That player drops their token into one of the middle 7 columns of the board. The next player then does the same thing. At any point, if a player drops a token which completes a set of 5 tokens in a row (horizontally, vertically, or diagonally), that player wins the game.

License

Distributed under the MIT License.