|
Forum Index : Microcontroller and PC projects : Carcassonne game
| Author | Message | ||||
| johngill Newbie Joined: 22/09/2020 Location: United KingdomPosts: 38 |
Hi all, I've already posted about this on the CMM2 facebook page - as promised, here is v0.1 of the Carcassonne game I'm writing. Notes: Two files in the zip - tileset.png and carcassonne.bas - they must both be in the same folder when carcassonne.bas is run. carcassonne.zip The basic tile placing game loop is in place - every player can place tiles and counters until all tiles in the deck have been placed. Tile placement is checked for valid placements - the game will give an error message if a player tries to place a tile in an invalid position. Yet to do: 1. counter placement is not yet checked. The game will currently let a player place a counter on an invalid position on the tile (ie, onto a road/town/field that's already been claimed by another player.) 2. Scoring has not yet been implemented. When a tile is placed that completes a scoring feature (road or town) the game does not yet score that tile - any counter that has claimed that road/town remains on the board. 3. If tiles are placed on the board grid such that a blank tile space becomes "entrapped" by placed tiles, the cursor-controlled tile placement mechanic does not yet allow a tile to be manoeuvred into that position. 4. AI-controlled players. If you spot a bug, or if there's something that you think that could work better, please do let me know, cheers. John Gill |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |