A basic game engine

Hey

I've only been learning Java a couple of weeks and a friend suggested a good way to learn would be to write simple board games. It's going fine and just for practice I now want to write a really basic game engine for the sort of stuff I've been doing.

I've been looking online to try and find out what a game engine should do, but most of the info is on writing the big stuff. I just want to know the basics really. If anyone could point me to any resources or give me an outline of what its role should be, that would be great.

Thanks

xenny

[581 byte] By [xennya] at [2007-10-3 11:09:24]
# 1
Are you trying to make it for a certain type of board-game like chess or checkers, or are you trying to go for the harder task of making it as a foundation for other programs to program games off of?
Nethera at 2007-7-15 13:32:28 > top of Java-index,Other Topics,Java Game Development...
# 2
Hey thereThanks for the response. I guess I mean the latter, as I want it to be able to handle games like chess, checkers, tictactoe, and anything reasonably similar. But I'm happy to start simple and build on it. I just need to get a grounding in the basic concept.xenny
xennya at 2007-7-15 13:32:28 > top of Java-index,Other Topics,Java Game Development...
# 3

I would recommend first making a simple board game like Othello and then moving on to something more complex like chess.

If you want to make this program flexible enough to handle multiple board games, your should focus on what makes two games similar. What is the general concept behind a board game? What features of Othello are the same as chess, and can you make your program abstract enough to handle the differences? These are the questions you have to ask yourself when you start to make this.

I suggest that you first just make a working othello before you attempt the flexibility. Have fun.

If you want me to tell you more about the "basic concept" of starting a game like othello, just ask.

Nethera at 2007-7-15 13:32:28 > top of Java-index,Other Topics,Java Game Development...