CompSci 190
Fall 2022
Programming Games
FOCUS Section

Grid/Strategy Game

Write a Python program using the Arcade module that allows the user to play a game which takes place on a grid in which the player wins by matching things in rows, columns, or both. It can either be an "action" game (like BejeweledCandy Crush, or Tetris) or a turn-based game (like Connect4, Othello, or Checkers). For two person games, you should make an "intelligent" opponent to play against (even if it only makes a random legal move).

Beyond drawing the board (there may or may not be any animation in this game), you will need to verify legal moves and when the game is over. For example:

Getting Started

You can write this game from scratch or by starting with this template.

Specifications

Complete these minimal requirements:

Beyond the basics, you must add at least one feature to your game, such as:

In the comment at the top of the Python file add: