Skip to content

jadikerjadiker/CS50-Final-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Botter Than You!

Botter Than You is a nearly unbeatable computer bot that plays two player games developed by London Lowmanstone and William Yao using HTML5 canvas, Python, and Flask.

In this iteration of Botter Than You (Dec 2017), Tic Tac Toe and Connect4 are available for users to play.

See the file DESIGN.md for more information about the programming behind this application.

REQUIREMENTS

This application was developed using the Cloud9 IDE, not the CS50 specific IDE. However, running this application using the CS50 IDE should work properly. Open all the source code in CS50 IDE. Make sure Flask and Jinja are functional. Type flask run in the terminal and follow the link the server provides to view and interact with the Botter Than You project.

INSTRUCTIONS TO PLAY

(also available to view in the application)

Tic-Tac-Toe

  1. Select the Tic-Tac-Toe game from the homepage by clicking the blue and yellow button. This should redirect to the Tic-Tac-Toe page with an empty board.
  2. The player that goes first is randomly chosen. Whenever the loading circle appears, this indicates the bot is deciding where to move. When the loading circle disappears, it is the user's turn to move.
  3. To move, use the mouse and click in the location that you wish to move on the 3x3 board, an 'O' should appear instantly.
  4. A message indicating the result of the game will appear at the top of the screen once the game is complete.
  5. To replay or choose another game, click the Back button, which will return to the home screen.

Connect4

  1. Select the Connect4 game from the homepage by clicking the blue and yellow button. This should redirect to the Connect4 page with an empty board.
  2. The player that goes first is randomly chosen. Whenever the loading circle appears, this indicates the bot is deciding where to move. When the loading circle disappears, it is the user's turn to move.
  3. To move, use the mouse and click on the column you wish to drop a piece on the Connect4 board. An 'O' will appear in the appropriate location.
  4. A message indicating the result of the game will appear at the top of the screen once the game is complete.
  5. To replay or choose another game, click the Back button, which will return to the home screen.

About

Final project for CS50 by London L. and Will Y.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published