SheepGame

JavaGradleGame Development GitHub

Seagulls perched on rocks

Overview

SheepGame is an open-source survival game built in Java. You control a sheep that must find grass and water to keep its hunger and thirst in check — run out of either and it’s game over.

Gameplay

  • Movement: Arrow keys or WASD with momentum-based physics — the sheep accelerates and coasts rather than stopping instantly.
  • Resources: Grass replenishes hunger; water replenishes thirst. Both spawn on the map and shrink as difficulty rises.
  • Difficulty: Ten levels that progressively reduce movement speed, resource spawn rate, and resource nutrition value.

Technical Details

  • Built in Java 21 with Gradle.
  • Run with ./gradlew run.