Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:14 17 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Carcassonne game

Author Message
johngill
Newbie

Joined: 22/09/2020
Location: United Kingdom
Posts: 38
Posted: 09:37am 15 Feb 2021
Copy link to clipboard 
Print this post

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
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025