Skip to content

chihyu-huang/JavaGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaGame

Welcome to the JavaGame project! This JavaFX game project implements the MVC pattern for a board-based (4X6) game with a start and finish line. Read the "javafxGame.pdf" file for detailed information about this project. You can also watch the demo video here.

Game Description

This game involves players navigating through a board to reach the finish line. Here's a brief overview:

  • Board Layout: The game board is a 4X6 grid with a start and finish line.
  • Setup: Choose the difficulty level and the number of players at the beginning. Assign names to each player.
  • Gameplay: Players take turns to throw dice, determining their move (step and direction).
  • Objective: The first player to reach the finish line wins. Low-scoring wins are recorded in the leaderboard.

Game View

Rules

Here are some rules of the game:

  1. Players can end their turn at any time.
  2. Two 4-sided dice determine step and direction (50% forward, 25% backward, 25% freeze).
  3. Players can turn right or left only if an obstacle or another player blocks the way.
  4. Each step contributes one point to the score.
  5. There are three types of obstacles, each with different penalties.

For detailed rules, refer to the provided documentation.

Screenshots

Check out some screenshots of the game:

Getting Started

To get started with the game:

  1. Clone this repository.
  2. Read the provided documentation (javafxGame.pdf) for detailed instructions.
  3. Watch the demo video to understand the gameplay.
  4. Explore the codebase and run the game in your Java environment.

Dependencies

  • JavaFX
  • Java 8 or later

Contributor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages