Skip to content

zarathourstra/FightGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COLLISION GAME SIMULATOR

A battle royale simulation where circles fight to be the last one standing.

Overview

Players (represented by circles) move independently in a bounded area. Each player starts with 10 points to allocate across three attributes: health, speed, and damage. The last player alive wins!

Game Mechanics

  • Point System: Distribute 10 points among health, speed, and damage stats
  • Combat: When players collide, whoever attacked most recently takes damage
  • Victory: Game ends when only one player remains above 0 HP

Requirements

This is what I used

  • Java 21.0.2
  • JavaFX 21
  • Maven Build

Quick Start

mvn clean compile
mvn javafx:run

Remarks

A lot of validation has been ignored :

  • you can start the game without dispatching all the points.
  • access controls on attributes are not reinforced
  • the UI is not ocmpletely consistent on the health bar decreasing, but I added the change of color to Black to highlight the death of a player.
  • the geometry for movements can be less complex

About

JavaFX + C mini fighting game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages