Skip to main content

All Questions

Tagged with
4 votes
1 answer
79 views

Terminal based game: Part 3 (Using templated game)

Working from previous posts In this post: Terminal based game: Part 2 I introduced the concept of a Game object. To build a game like Terminal Base Snake you could ...
Loki Astari's user avatar
  • 95.4k
4 votes
1 answer
76 views

Terminal Base Snake

Based on this Framework Terminal based game: Part 2 A game that uses std::cout to print the board and std::cin to get keyboard ...
Loki Astari's user avatar
  • 95.4k
7 votes
1 answer
963 views

C# Console Snake Game

I was busy writing an answer for this question when I realized that I was busy creating a new solution without explaining what the original poster did wrong, again. So I decided to rather post what I ...
jdt's user avatar
  • 2,362
5 votes
2 answers
806 views

Object oriented approach for snake game in C++

I started to code in c++ recently and my goal is to develop games using c++. After learning basics I tried to implement my own version of snake console based game in c++ with the help of some online ...
Sakitha Navod's user avatar
3 votes
1 answer
1k views

Snake Game in C++ with OOP need advice

I wrote a Snake Game in C++ and I have practiced some OOP approaches on windows 7. What I need: advice how to improve code Most important how to made what Snake on ...
Inex's user avatar
  • 131
4 votes
2 answers
751 views

c++ console snake game

I have made a console game using c++ without using OOP. The code works, but is it good that way or should I have used OOP? ...
Mina Yossry's user avatar
3 votes
0 answers
117 views

Console Snake Game

I am beginning to learn rust and I created this snake game for practice. I am looking for some feedback on my code. main.rs ...
Joyal Mathew's user avatar
6 votes
1 answer
1k views

Snake console game in C++

I reviewed this question to a snake game console implementation: My first C++ game (snake console game) I enjoyed refactoring this code and presenting a solution using more C++ features/classes. I ...
Sandro4912's user avatar
  • 3,076
11 votes
3 answers
3k views

My first C++ game (snake console game)

I finally finished the code for a snake game I was working on. I would like it if you were to give me some advice as to things that can be improved. ...
Nadpher's user avatar
  • 889
14 votes
1 answer
760 views

Ncurses Snake game

I decided to write a little snake game in c++ to practice and as an opportunity to learn ncurses. It turned out to be much bigger than I anticipated but since I've never really written anything big, I'...
Sergey Kasmy's user avatar
5 votes
1 answer
1k views

Simple Console Snake game C++

I recently started learning C++ and have made a very simple Console-based Snake Game, I would like to have some feedback on improvements. You might notice the obvious delay in clearing and printing ...
Kaynnc's user avatar
  • 233
10 votes
2 answers
26k views

Console snake game in C#

This is my first console application in C# and I think it's unnecessarily wrong and I made some bad practices, but at least it works smoothly. How could I improve this code so that next time I write a ...
user avatar
4 votes
2 answers
324 views

Snake game for Windows text console

I have started to code Snake in C++. I am finding it hard to make progress on this project because the code is quite messy. How can I improve the structure of my program? main.cpp: ...
user avatar
7 votes
1 answer
4k views

Snake game for Windows console, avoiding flicker from system("cls")

I just completed my own implementation of the classic snake using what I consider to be unique methods. Rather than having a map be cleared over and over again using ...
Darien Miller's user avatar
4 votes
1 answer
7k views

Snake game in C++ for Windows text console

Here's my approach: ...
Valentin Dragoi's user avatar

15 30 50 per page