What are Some Fun and Easy Games to Program in Java?

  • Context: Java 
  • Thread starter Thread starter mattmns
  • Start date Start date
  • Tags Tags
    Games Program
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 26K views
mattmns
Messages
1,129
Reaction score
5
Hello. Anybody know of any fun, and somewhat easy, games to program (I will be using Java if that matters)? I was thinking some card games, like blackjack or poker, any other ideas? To get an idea of the level of easyness I am looking for, I have made Sudoku, and Conway's Game of Life. I spent the last day or so making Sudoku and it prints a board, asks the user for a value and spot, replaces the spot with the new value, and prints the board again, also the program can check to see if a Sudoku board has a correct solution. I am mostly wanting something that would be fun and take some thought.

Thanks!
 
Physics news on Phys.org
I'm guessing it will player vs CPU rather than player vs player which kind of limits your choices because for some games (like chess) designing the AI would be very hard. I think definitely Poker is a nice one. You could also do a Mario/Sonic type of game.
 
BOMBERMAN, CHESS would be the primary too
starcraft, 9 man's something, chinese checkers
hearts, spades,euchre.

othello is probably the easiest.
 
How about Connect 4. The goal of the game is to line up 4 of the same color chips (Horizontally, Vertically or Diagonally). If you are doing it text based you could use X and O. The board could be 10x10 and you would need to parse the board each time to see if there are 4 chips next to each other.

If you want a really hard challenge write an AI player for GO.
 
Thanks for the ideas. I think I will try out Euchre and Connect 4 next, and then maybe try the others. Thanks!