Inspiration
I created this project because I want to popularize traditional games, specifically congklak. I played this game as a kid and I think it was a lot of fun, so I wanted people to try it out as well!
What it does
It simulates a game of congklak for two players. It contains all the rules and it will move the seed automatically, so the players can focus on the game.
How I built it
I build the logic using python and used pygame to build the gui
Challenges I ran into
- Simulating the rule was really challenging because it involves a recursive process when moving the seeds.
- It was particularly hard to skip the opponent's hole when moving the seed but I got around it by using while loop and extending the range.
- testing was a major challenge because i couldn't find existing congklak simulator so i have to do all the test case by hand
Accomplishments that I'm proud of
- I just learned pygame yesterday. It was very fun using it
- Simulating the rules takes quite a bit of time but in the end, I was able to get the correct output!
What I learned
- scaling down problem into smaller chunk
- to use git to save version
- learned a ton of pygame
What's next for Congklak
- major upgrade would be the program showing the user how it moves the seed and not just the final state. It will make the game much more understandable and it will help human strategize.
Log in or sign up for Devpost to join the conversation.