Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion SnakeGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
class SnakeGame implements Game {
public String getName() { return "Snake"; }
public Optional<Integer> play() {
System.out.println("[Playing Snake - Placeholder]");
System.out.println("This is a simple console version of the Snake game.");
System.out.println("The player controls a snake that moves around a grid,");
System.out.println("collecting food and growing in length.");
System.out.println("The game ends if the snake runs into itself");
System.out.println("or the edge of the grid");
return Optional.empty();
}
}