All Questions
15 questions
0
votes
1
answer
247
views
Calling the base method from overriden method to add some functionality
I have a small Linked list program which I created for just brushing up the concepts.
Following is my Node class
...
5
votes
3
answers
1k
views
Simple N Puzzle console game
I am completely new to object oriented programing (OOP). I have also never worked with C# before. The exercise from my book had some requirements that should be ...
3
votes
2
answers
244
views
Print a Menu in the Command Line following SOLID
Problem Description
I am building a library that helps me building TUI Apps more faster, for example printing TUI Menus and other components. I would like to get feedback on my design decisions to see ...
1
vote
1
answer
785
views
Text-based console game
I'm currently learning C# in hopes of making games on my own using Unity.
I'm using the Udemy class by Denis Panjuta and followed 8 sections before making my first app by myself.
The 8 sections ...
4
votes
3
answers
2k
views
Stopwatch class without using System.Diagnostics in C#
Design a class called Stopwatch. The job of this class is to simulate a stopwatch. It should
provide two methods: Start and Stop. We call the start method first, and the stop method next.
Then we ...
6
votes
1
answer
2k
views
Console-based BlackJack in C# - Follow-Up
I have done some code-refactoring of my console-based BlackJack in C#. Finally found a better solution to solve Ace problems (double Aces should be value 22 and third Ace should be value 1).
I still ...
7
votes
1
answer
2k
views
Console-based ATM client as a class library
I have completed my bank ATM application in C# class library project. For simplicity, the data of this version will be stored in the List instead of a database. The basic feature are
Login
Check ...
4
votes
1
answer
2k
views
Beginner c# snake game
I just started using c# and I made this snake game in a console application . It is a bit jittery when i run it in visual studio. How could I improve it to be cleaner and less jittery.
...
3
votes
2
answers
5k
views
Simple dice console game in C#
I wrote a little console game that is supposed to take some dice and some players and determine the winner of the game. I wrote it for the sole purpose of figuring out why i'm doing the things i'm ...
1
vote
2
answers
341
views
Revised version of pokemon console game
I'm back with a hopefully revised and improved version of my RPG pokemon console game! Well, it's more like a "randomized" pokemon simulation as there isn't really any kind of strategy, it's only ...
7
votes
2
answers
4k
views
Console Address Book application
I'm in my second week/second section of learning C# through Treehouse/on my own. I recently switched from learning Javascript and am looking for a review of my code. I believe I've tested everything ...
7
votes
3
answers
12k
views
Vending Machine
After doing a lot of reading and practicing, I've come up with a simple program that implements multiple OOP techniques, principles and several design patterns such as Observers, Factories and ...
4
votes
1
answer
3k
views
Create shapes in a console
I've done a job interview assignment on shapes (surprising ah?!) which is a C# console application which creates a list of shapes basically. It's available here, but for my question the only relevant ...
8
votes
1
answer
2k
views
Simple console Snake game following GRASP
I would like to know if there is anything that I missed following the GRASP patterns.
The Main Controller class:
...
13
votes
7
answers
6k
views
Scoring a Scrabble Word
I was asked before an interview to create a console application that will work out the score of a word for the board game scrabble. It worked fine but the feedback I received said:
"there were no ...