Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [game]

For questions requesting reviews of game development code.

Filter by
Sorted by
Tagged with
1 vote
2 answers
37 views

Basic OpenGL application that renders multiple cubes on a textured plane, setup for a 3D game

I'm learning OpenGL and started work on a small 3D game (like Sokoban) for practice. I want to know if the design of my OpenGL code reflects a good understanding of the technology. For example, one ...
user avatar
  • 11
3 votes
0 answers
31 views

Playing a game of ConHex in Python

Background ConHex is game by Michail Antonow where two players try to create a connected chain of cells from one side of the board to the other side. They do this by claiming one empty position each ...
user avatar
  • 401
-1 votes
0 answers
37 views

Game based loosely on cricket

Cricket is a PC game which is similar to real cricket but has little different rules There will be N number of players , Y number of overs, here one over means each player will hit one ball each, let'...
user avatar
-1 votes
0 answers
31 views

How to random the questions for my quiz game in C# Console App [closed]

I create a quiz game app. The user will answer 3 subjects and it is a multiple choices. After the user answers 10 questions per subject, it will display the score per subject and also the overall ...
user avatar
4 votes
1 answer
102 views

Blackjack game in C++

I developed a blackjack game. I am relatively new to c++ and OOP, so I am asking for feedback on what could be improved. This game features betting, taking a card, standing, and splitting a hand. ...
user avatar
3 votes
1 answer
68 views

Console Slot Machine written in C#

This is my console simulation of the Slot Machine in C#. Please take a look at this code and point out possible ways of improvement. ...
user avatar
  • 39
2 votes
0 answers
32 views

simple OOP Blackjack

It has been a long time since I have gotten into OOP with python. I made this short little program. Are there any ways that I can make it more clear or concise (pythonic if you may)? ...
user avatar
  • 121
2 votes
0 answers
26 views

Minesweeper program using Tkinter

I have complete my minesweeper game using Tkinter and would like to know ways to improve. I also have a question for extra features: does anybody know a way to have a opening start, like google ...
user avatar
  • 137
4 votes
2 answers
743 views

Battle terminal-based game

I'm new to learning OOP in python and played around with it, making this quick battle terminal based game-ish, but I'm wondering how I can optimize this to maybe less lines of code and just overall ...
user avatar
0 votes
0 answers
42 views

Component to apply FABRIK in Unreal Engine

I read the FABRIK and implemented it to study Unreal syntax. Update the position in the FABRIK Segment component. It is used to update the relative position of the static mesh using the updated ...
user avatar
1 vote
0 answers
51 views

Cookie Clicker on JS, with Buttons for upgrades

I'm new to JS, so I'm most likely coding badly. Can you please point out the errors and correct the code? the site complains that it needs to write more text, but I don’t know what else to write HTML ...
user avatar
3 votes
2 answers
117 views

Game of life with options like windows and board size

Mainly I am looking for a better way to control the user input in the game loop which is in the first file. Since the nested switch with many ...
user avatar
2 votes
1 answer
63 views

A Rust beginner's Hangman game

I have been learning Rust for a few days (This is my third) now, and I've really fallen in love with the language, this is my first real project, Hangman. I was wondering what I could do better / what ...
user avatar
  • 43
6 votes
3 answers
178 views

Predict bouncing ball destination in JavaScript

In a Pong-style 2D game, a ball (a circle of radius BALLRADIUS) can bounce (with perfect elasticity) on the top or bottom of the screen. When it hits the left or right side of the screen, one of the ...
user avatar
  • 2,780
1 vote
1 answer
51 views

Basic Event manager implementation

I have written a very simple algorithm vizualizer where all input is coming from the mouse and I needed an event manager for that. Since I never wrote one before, I wrote a 30 min implementation to ...
user avatar
  • 57
2 votes
0 answers
34 views

Interactive Gundam using only Matplotlib

The code below plots a background image (sky) and then a Gundam sprite using Matplotlib. It also creates 4 buttons with obvious purposes. The Gundam class stores 2 ...
user avatar
  • 1,142
1 vote
1 answer
59 views

First Web App - Pig Game

I'm learning web development with JavaScript, HTML, and CSS and have just created my first application, a Pig Game. The app works well, however, I think my CSS is a bit over complicated and that the ...
user avatar
  • 11
1 vote
1 answer
83 views

Java implementation of Yahtzee

I'm trying to implement the game of Yahtzee in java. This is for a project at my university so I tried to be as clean and to use the best code practices as possible. The part in particular that I ...
user avatar
0 votes
1 answer
62 views

A text based DND game, (im 3 months into coding)

This is going to include my original code, and also revisions I have made, so far I have gotten some help on my character creations portion, and have revised it. I just would like input as to where I ...
user avatar
  • 9
3 votes
2 answers
122 views

Python random number guessing game

I've been learning Python for about 4 days now. Python is my first programming language, so I'm not that good at coding yet. I have been programming a little random number game as my first project and ...
user avatar
0 votes
1 answer
81 views

basic tic tac toe

I looked a little into HTML a year ago but decided to try python yesterday and came up with this for tic-tac-toe. I have no programming experience and I haven't yet looked at other peoples versions of ...
user avatar
  • 11
3 votes
2 answers
106 views

battleship game with two ships per player

I'm creating a battleship game in Ruby. Let me explain how it works: The game is played on 5x5 grids (one per player). Players have 2 ships each to place on their grid. A small ship (3x1 side) and a ...
user avatar
  • 31
3 votes
1 answer
75 views

Blackjack game in python w/ bot

I am a beginner programmer and this is my first project, a blackjack game with a functioning dealer in python. Any feedback would be appreciated (especially if its about bot improvement). ...
user avatar
1 vote
0 answers
65 views

Advice on Update function in my Game Loop [closed]

I have this update fx for my Player object in game loop, game is top-down in-space thing with boom-booms and such. Me being weak at maths is huge understatement so my implementation is concoction of ...
user avatar
2 votes
1 answer
103 views

C++ Blackjack game (rough version)

Below is the Blackjack program code. How do I make the code look nicer? I feel like the code is super messy and I was wondering how I could make it look better or if there are better ways to write ...
user avatar
3 votes
0 answers
166 views

Command line wordle

I am seeking a review of my command line wordle game. Having only recently started exploring functional programming, I expect that there will be no shortage of areas to improve. This is my first ...
user avatar
1 vote
2 answers
62 views

Simple terminal TicTacToe

Coming from JavaScript, I needed to learn C++ recently, so I thought a great way to start is to create a simple terminal-based tic-tac-toe game. I encountered some difficulties especially with multi-...
user avatar
  • 141
6 votes
1 answer
118 views

Plants vs. Zombies simulator

I am making a pvz simulator. We have a game board with 1 = peashooter and 2 = zombie: ...
user avatar
7 votes
2 answers
210 views

Wordle clone in Python

I spent some time making a simple Wordle clone in Python. The word bank consists of all words of a specified length taken from nltk's Brown corpus. I would appreciate any advice or criticism to ...
user avatar
3 votes
1 answer
65 views

Skill leveling system with different skill level titles

I'm making a text-based RPG in JavaScript. I made a skill leveling system that works, but I feel like the function arguments get passed around a lot and, the code is not very scalable. Do you have any ...
user avatar
8 votes
1 answer
402 views

(Beginner) Mastermind game in Python

After completing an introduction to Python tutorial, I wanted to put my basic knowledge of control flow and data structures to use, and felt this was a great choice for my first program. I created the ...
user avatar
  • 83
0 votes
2 answers
83 views

Create walls in a game from a random maze

I use four bools, if true a wall is in that direction: ...
user avatar
2 votes
1 answer
185 views

Ping pong game (console)

I've made a 2 player game in c# console that is a ping pong game. I've made it in more or less 4 hours and in my opinion it is the best performing game I've made so far. Just to let you know, I am a ...
user avatar
3 votes
1 answer
165 views

a tiny rpg game using Phaser 3

I wrote a tiny game using Phaser 3, here is the code. ...
user avatar
  • 189
7 votes
2 answers
503 views

Hangman game in Python with nine possible words

I'm relatively new to Python, and I've been using the language for about a month. I set out to do the Hangman game. I would like to know if there are things to improve in the code of the program I ...
user avatar
2 votes
0 answers
106 views

OOP Blackjack in Python 3.9.9

I've noticed I'm not the first to post this topic. As a matter of fact, I have taken some inspiration from Victor Nguyen Bao's post to help structure my code. Here's the link to his code: Structured ...
user avatar
4 votes
2 answers
76 views

Would love some insight on the current state of my Blackjack code

I started coding blackjack from scratch and just finished the basics so I would love some insight. I would really appreciate if any of you could look through it and let me know if there's anything I ...
user avatar
3 votes
2 answers
115 views

A very basic Black Jack program, which just lets you play one round without any balance or betting

I just wanted to make a fun project for practise and as far as I know the program runs just fine without any flaws, but I would like to add an option to it, if a round ends to ask the user if he wants ...
user avatar
5 votes
2 answers
389 views

Mine sweeping game for the terminal

Over the holidays I was bored due to lockdown and implemented a mine sweeping game for the terminal. Any feedback is welcome. ...
user avatar
7 votes
2 answers
670 views

Four-in-a-Row game

I've made a working Four-in-a-Row game with grid lists and winning system. Both vertically and diagonally, is there some clear improvements to be made or common mistakes which could perhaps shorten it ...
user avatar
0 votes
0 answers
30 views

A bit of inventory management code I made using ScriptableObjects in Unity that lets you find items, check if you have items, and take items

It took me a while to figure this out, it's probably the most flexible code I've made. There might be some small mistake somewhere as I didn't get to fully test it, I'm just looking for glaring issues ...
user avatar
  • 43
5 votes
1 answer
362 views

Text-based adventure game where you fight two enemies per round

This is a text based adventure game, where you need to fight against 2 enemy in every round. The damage dealt and potion heal is a random number. How can I improve? Game class: ...
user avatar
  • 53
5 votes
1 answer
141 views

Space Invaders clone for a college project

Edit: the project was submitted, and I got a good grade! :D I am finishing up a project for my computer science class. The project is a space invaders clone that uses the JavaFX library to provide ...
user avatar
4 votes
2 answers
145 views

Python TIC TAC TOE Project

I just joined here. I have been doing python for a couple of weeks and I would like for some experienced programmers to review my code. I made this for a school project and I am proud of it. The code ...
user avatar
1 vote
1 answer
39 views

When I try to re set up my code after failing in the game I cant get it to run the function without its own file being undefined [closed]

I know my code is ugly and unreadable. I originally had the game working without class functions but when I had to implement class function it all went downhill. TennisMaster.py ...
user avatar
1 vote
2 answers
154 views

Card deck for Blackjack in an OOP style [closed]

So far I have made a class called Deck, to create and shuffle a deck of cards, and a class called Player, which I want to use to create the gambler and the dealer. My Player class inherits from the ...
user avatar
  • 23
1 vote
2 answers
523 views

I Made a Simple BattleShip Game On C# Console

I made a simple battleship in C# console with a little AI ( just a little ) and The goal of this practice is improving my knowledge about OOP. Game Rules: 1.You Attack To The Enemy then he Attacked ...
user avatar
3 votes
2 answers
193 views

I made a Simple Score Game in C# Console

I've created a simple score game. The goal is improving my knowledge about OOP. This is my Main method: ...
user avatar
2 votes
2 answers
364 views

Rock Paper Scissors Game using if statements

I am doing the codecademy course and had to do a rock paper scissors game as a project. Rather than following the instructions I tried Doing it on my own. How I could make the code more efficient? <...
user avatar
2 votes
1 answer
215 views

Implementation of an entity component system in c++

I tried to write a simple entity component system for my game engine. Each scene will have an EntityManager. It will create entities and add or remove components from them. An entity will be destroyed ...
user avatar

1
2 3 4 5
37