Skip to content

UPenn-CIT599/final-project-team-35-scrabble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Team-35-Scrabble-Game

Gaming is a popular entertainment venture, a lot of gaming currently is being done virtually online. In the cit-591 course, we have had the practice of some of the popular games like BlackjackSolitaire as an assignment, and on a basic level Chess, Snakes and Ladders, etc. We want to build on this expertise and scale higher with new games called Scrabble. In this game, a user (or two users) can access and play against each other. In this game, players will have a game board, 15 by 15 tiles, a letter bag, and seven racks. The rule is player 1 clicks the letter in the rack and then clicks any tile on the board to relocate the letter. Each time the player finishes this round, click the submit button to save the words on board, then it will pass to the other player or next round. The more words player made, the more score the player wins. Each letter has its score and some tiles have bonus effects.

Getting Started

How to run in Visual Studio Code (preferred)

*Make sure you have Java 11 or higher installed.

  1. Clone this repo to your local machine with this link https://github.com/UPenn-CIT599/final-project-team-35-scrabble.git
  2. Unzip it and open the folder in Visual Studio Code.
  3. Launch the app from visual studio code by running the main file "ScrabbleRunner.java" under scrabble/src/main/java/scrabble.

How to run in terminal

  1. Open a terminal under folder "Scrabble".
  2. Build a Gradle project in terminal: "./gradlew build" for Mac or ".\gradlew build" for PC
  3. Run the project in terminal: "./gradlew run" for Mac or ".\gradlew run" for PC.

How to run in Eclipse

  1. Add JavaSE-11.0.7 library. Right click on the Scrabble project -> Project -> Properties -> Java Build Path -> Library tab -> Add Library -> JRE System Library -> Execution environment -> JavaSE-11.0.7
  2. Download JavaFX from https://openjfx.io/. Unzip it.
  3. Add JavaFx library to eclipse Right click on the Scrabble project -> Project -> Properties -> Java Build Path -> Library tab -> Add Library -> User Library -> User Library -> New -> name it as JavaFX -> Browse to the JavaFx library you just downloaded. Add all JARs in the folder. Here is a more detailed instruction: https://www.javatpoint.com/javafx-with-eclipse

How to Play

In the welcome page, you can choose a single-player mode 🕺 or multiplayer mode and name your player.👯‍♀️

In the game page, you can click the letter in the rack and then click any tile you want to relocate the letter.🎴 The first word must be played using the center square with a star. ⭐️ Each time you finish this round, click submit button, it will pass to the other player or your next round.🔂 The more words you made, the more score you win. Each letter has its score and some tiles have bonus effects.🤑

You can search if a word is in the dictionary by clicking the search button 📖, swap tiles from the tile bag by clicking the swap button, and the letter you want to swap and swap button again 🔄, pass your turn by clicking pass button ▶️and undo your step by clicking undo button.↩️

You can check how many letters are left in the letter bag by clicking the bag button.💰

Here is a video demo of the game by Yugui: https://youtu.be/HoPkGZyrYZQ

Built With

  • JavaFX - The GUI interface.
  • Gradle - Project Configuration.

Authors

  • Daisy Liu
  • Shodhan Shetty
  • Yugui Chen

About

final-project-team-35-Scrabble created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published