Skip to main content

Questions tagged [game]

For questions requesting reviews of game development code.

3 votes
2 answers
814 views

A chess engine in Java: generating white pawn moves - take II

Intro This post continues the A chess engine in Java: generating white pawn moves. I was advised to choose between efficiency and type safety. Since this is my first attempt at a chess engine, I have ...
coderodde's user avatar
  • 28.8k
8 votes
4 answers
2k views

A chess engine in Java: generating white pawn moves

(This post has now a continuation.) I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavour is generating child states out of a given ...
coderodde's user avatar
  • 28.8k
2 votes
0 answers
23 views

Tic Tac Toe CLI in Clojure

I wrote a command line tic tac toe game in Clojure. I've broken this post into three sections: Feedback Requests, Gameplay, and Code Feedback Requests I'm looking for feedback on: How "idiomatic&...
cgoates's user avatar
  • 175
3 votes
2 answers
117 views

"Element Fusion" game where 2048 meets Chemistry

I've developed "Element Fusion," a PyGame-based game inspired by 2048 but using chemical elements. I'm seeking feedback on: Gameplay mechanics Code structure and efficiency PyGame ...
Amirhossein Rezaei's user avatar
1 vote
0 answers
50 views

Principal Variation Search (PVS) for playing Connect Four in Java

This time, I have an implementation of PVS (Principal Variation Search) algorithm for playing the game of Connect Four. The repository holding the above .java file ...
coderodde's user avatar
  • 28.8k
3 votes
2 answers
117 views

First tic tac toe game. want to see if valid or needs improvement

Just finished my first java class that taught me all the way up to oop and abstract classes. Decided to start some projects over the summer. Started with tic tac toe since it sounded fairly easy to do....
bruh's user avatar
  • 31
2 votes
3 answers
71 views

Dice evaluation in a Yahtzee-type game

I just started using Godot, and I am attempting to build a Yahtzee-type game on my own. I created a function to evaluate the dice/roll and have it working correctly, I believe. I was hoping to get ...
Mike Millar's user avatar
5 votes
2 answers
390 views

Family, felon & fuzz River Crossing challenge

I first saw this challenge when a user posted it to SO about two years ago without a shred of code. The post's plea, "How do I get started?" meant the user's post didn't survive long on that ...
Fe2O3's user avatar
  • 1,329
4 votes
1 answer
87 views

Multithreaded Alpha-beta pruning for playing Connect Four in Java

Intro (The entire repository is in GitHub.) This time, I have parallelized the famous Alpha-beta pruning algorithm. The idea is that the parallel algorithm descends in a game tree (at least) 2 levels ...
coderodde's user avatar
  • 28.8k
4 votes
3 answers
270 views

Connect4.java - The Connect Four game against an Alpha-beta pruning -based AI bot

I have this GitHub repository. It implements the command-line version of the Connect Four game. The AI bot is implemented via Alpha-beta pruning. Code ...
coderodde's user avatar
  • 28.8k