board-game

How do I represent a hextile/hex grid in memory?

Say I'm building a board game with a hextile grid, like Settlers of Catan: Note that each vertex and edge may have an attribute (a road and settlement above). How would I make a data structure which represents this board? What are the patterns for accessing each tile's neighbors, edges and vertices? ...

Finding if a path between 2 sides of a game board exists

I'm working on a game as an assignment for school in java. The game currently is designed for Console. The game is for 2 players, one attacking from North to South, and the other from West to East. The purpose of the game is to build a "bridge"/"path" between the 2 of your sides before your opponent does. For example: A B C D E F ...

Checkers/Draughts Server and Board implementation (through a web browser using Ruby on Rails)

Hi I'm developing a two player checkers website. The idea is to allow people sign up and add to a list of friends they have. They can then send or accept requests to/from a friend on their list to play a game of checkers via the site. I'm using Ruby on Rails to develop it (It’s mandatory in case people think another language is more a...