Skip to content

tyang98/OScrabble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OScrabble - CS 3110 Final Project

Installation

  1. After opening the zip file, type make build in the terminal to build our system.
  2. Now type make run in the terminal: this should start our game by loading an empty scrabble board.

Gameplay

  1. To play our game, you will be prompted after running make run to type in the number of players.

  2. After that, each player will be prompted move | swap | pass | surrender > where they can either execute a move by placing letters on the board, swapping tiles, or passing their turn

  3. To execute a move on the Scrabble board, you will need to give the following inputs move [direction] ([row] [column] [word]) where [row] [column] [word] can be repeated for placing tiles on either side of existing tiles. valid directions are across, a, down, and d. For example, move a 2 3 orange

  • The row input ranges from 0 to 14.
  • The column input ranges from 0 to 14.
  • The direction input ranges is either a (Across) or d (Down).
  • The word input can be either a single letter or many letters in succession.
  1. To execute a swap on the Scrabble board, you will need to give the following inputs swap [letter 1] [letter 2] ... [letter n] For example, swap a b c

  2. To execute a pass on the Scrabble board, you will simply need to type pass

  3. To execute a surrender, you will simply need to type surrender. Once all players type surrender during their respective turns, the game will end.

  4. To win the game, the first player with no tiles left will win.

Screenshots

alt text

About

CS 3110 Final Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published