This is mips game for the connect4 include trap, wormhole and snake Date Progress: Jan 22, 2025 Description: This game is a beginner-friendly C programming project to enhance foundational programming skills. The game features an 8x8 grid array where players compete to win with the following elements:
- Player Setup: Standard player setup with two players
- Menu: There will be a menu for user selection, either for coin flip or exit the game
- Unique Player Symbols: The program uses x and o as a standard for better visualization.
- Wormholes and Traps: There will be three traps and three wormhole spawns independently in each row and column, minus the 1 row and column. o Wormhole: Transports the player’s disc to another row. o Trap: Trap with another player disc.
- Snakes: These are randomly spawned small cubes that remove a player’s disc from the grid when encountered.
- Coin Flip: using the coin flip to randomly start for player 1 or 2, in a coin flip animation.
- Exit Option: Players can type "exit" to quit the game anytime.
- Winner Recording: The program outputs the winner(s) to a text file for record-keeping.
- Core Programming Concepts: o Uses pointers and pass-by-value arrays for efficient memory handling. o Employs file I/O to save game results.
- Error Handling: Provides user-friendly error messages for invalid inputs, such as choosing the same symbol or invalid commands.