Skip to main content

All Questions

4 votes
1 answer
2k views

Java 2 Player Object Oriented CLI Chess Game

I just finished implementing a Java 2 player CLI chess game, it involves player putting in commands (i.e "move e2 e4" to move or "attack d1 d5" to capture.). I am trying to follow ...
Yoh's user avatar
  • 61
1 vote
2 answers
110 views

Java dependency injection and hiding details of methods in "Database"-class

I recently posted a bunch of code of my to-do list application and after getting some very helpful and good suggestions on how to improve, I took a shot at it! Here's a link to the former post I made -...
Apelli's user avatar
  • 87
5 votes
1 answer
76 views

Othello game in Tk

I've recently reached a milestone for my Othello clone. This is my first Python project and the farthest I've come to a full program beyond small scripts and little automations. I'd love for you to ...
JMcClurg's user avatar
4 votes
2 answers
1k views

Object Oriented Library Management System

Library management system is a object oriented program that takes care of the basic housekeeping of a library. This is the third part of a series. The first iteration of the project is found here and ...
theProgrammer's user avatar
1 vote
2 answers
1k views

Generic Implementation for Paging Class in c#

I have created one generic Page class for store paging information with its data. The class look like: ...
Lalji Dhameliya's user avatar
4 votes
3 answers
3k views

Finite State Machine in C++

I made a state machine. You can press 0 and 1 to switch between the hypothetical menu and playing state. I hope you can help me improve it further. StateManager.h ...
Featherball's user avatar
2 votes
0 answers
2k views

Simple bank OOP structure in PHP

I don't have much experience using either OOP or PHP since this is probably my first thing ever written in this language. I've had some exposure to OOP but I'm not used to writing programs that way. I ...
jetski's user avatar
  • 21
4 votes
4 answers
2k views

Initialized Array Template Class (C++)

The problem We want to use a very large array for some computations. When created, all the elements of this array have to be initialized to some value. We'll only use a few values from the array1,...
user avatar
3 votes
1 answer
2k views

Generic Implementation for Api call in c#

i have created one generic implementation for api call from all over my application. ...
Lalji Dhameliya's user avatar
2 votes
2 answers
347 views

EventLogger for MVC application

I have worked on one application related for booking space and required to store activity of user into table and access from admin side. For that I have created one database entity and ...
Lalji Dhameliya's user avatar
2 votes
1 answer
117 views

Extending Exception: avoiding code duplication

I'm implementing a REST API in PHP 7.1. It is designed to throw Exceptions to print non-200 responses. I decided to go with the following: ...
Belle's user avatar
  • 207
7 votes
3 answers
3k views

Object-oriented Bank class

I am quite new to programming and was given an assignment in a job recruitment(now finished) to program a simple Bank class and other relevant classes based on this interface: ...
odgaard's user avatar
  • 73
2 votes
0 answers
197 views

My included in every script file - follow-up -1

In this particular question, I need the reviewers help to judge my understanding to MVC and OOP as it was my biggest problem in my original question a month ago. I included in the question the contact ...
Accountant م's user avatar
1 vote
2 answers
893 views

WPF wizard-like app

I'm designing and developing wizard-like app for populating the database I created with data from different sources. It's my first attempt to design and develop well-structured object-oriented ...
doctorwhy's user avatar
3 votes
1 answer
955 views

Create database connection and run the insert, delete, update queries class-Update

Based on the feedback I have got from the guys reviewing the code as posted in my previous question. Create database connection and run the insert, delete, update queries class I have used ...
themasterchief's user avatar

15 30 50 per page