This assignment does not count toward the final grade.
PA3: Connect Four
- Due No Due Date
- Points 1
- Submitting a file upload
- File Types zip
See this document Links to an external site. for the PA instructions. Upload your code files as a zip.
Rubric
Keep in mind that 1 student has already been assessed using this rubric. Changing it will affect their evaluation.
Criteria | Ratings | ||
---|---|---|---|
The program compiles and/or runs without error
|
|
||
The source code is well organized and commented
|
|
||
Each source code file includes a header indicating who wrote or contributed to the code
|
|
||
Code from any external sources, or code that relied on outside influence, includes a citation in a comment just above the corresponding code
|
|
||
The code is built off of the codebase we built in class
|
|
||
There is an implemented, working Connect Four class
|
|
||
There is an implemented, working Minimax with alpha-beta pruning class
|
|
||
There is an implemented, working depth-limited Minimax with alpha-beta pruning class
|
|
||
the Connect Four class provides an option to the user for the AI to use Minimax with alpha-beta pruning or depth-limited Minimax with alpha-beta pruning
|
|
||
The submission includes a README
|
|
||
The README describes how to compile (if Java) and run your program
|
|
||
The README describes what command line arguments, if any, are available
|
|
||
The README includes a section that states who worked on the project
|
|
||
All output produced by the program is nicely formatted
|
|
||
The board is displayed before each of the user's turns
|
|
||
The board makes clear which spots are empty, which contain the user's marker, and which contain the AI's marker
|
|
||
The board includes a key to indicate what the user must enter to specify each column (e.g., column letters or numbers)
|
|
||
The AI's move is indicated with some sort of print out
|
|
||
User moves are validated; if the user selects a filled column, they are re-prompted until they enter a column with at least one empty spot
|
|
||
If either player wins (four markers in a row horizontally, vertically, or diagonally), a message saying which player won is displayed and the game is stopped before the next player is given a turn
|
|
||
If the game is a draw (the whole board is filled), a message saying as much is displayed and the game is stopped
|
|
||
|