Can you defeat the land of the goblins?
Project for Pyramid Academy(GenSpark)
Assignment: Build a class-based RPG in the commandline.
-
Install Programs
- Java
- Gradle
- Groovy
- Jenkins
-
Clone Repository
https://github.com/jazicorn/Humans-VS-Goblins.git
- Build Project
./gradlew build
- Run Project
./gradlew run
- Everything must be objects: land/goblins/humans
- You must override the toString method to represent each of the object
- Create a grid for the game world
- Use UTF characters for the players and goblins and the land
- Game is turn based move: n/s/e/w
- Once a human and goblin collide combat is initiated
- Combat uses math.random
- Extras:
- human has inventory system
- goblins have drops
- stats can be modified by equipment
- map gen random treasure chest after each round of combat
- goblins pursue player
- Keep track of player score
- create a scoreboard for top players
- Unit Testing
- Create Objects
- Object: Land
- Object: Goblin
- Object: Human
- Create Grid
- Create UTF Characters
- UTF: Players
- UTF: Goblins
- UTF Land
- Create Turn Based Moves: n/s/e/w
- Create Initiate Combat