473,386 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

create a kenken game in c++

I have an assignment to create a kenken game in c++ using branch and bound algorithm. I'm not sure how to get started. Any suggestions would be appreciated
Apr 28 '10 #1

✓ answered by Frinavale

The first thing I recommend is that you research the "branch and bound algorithm".

The second thing I recommend is that you get the requirements for the game...so that you know what the game is supposed to do.

Write out the steps that need to be executed.
For example:
user: does this
program: does this
user: does this
program: does this

Once you know what your game is supposed to do, design classes that you will use in developing the game. A good hint determining classes that you're going to need is to go through the steps you wrote down and underline all of the nouns...these are probably going to be turned into classes....then go through and find all the verbs that are used with the nouns...these are probably going to be your methods/properties/members for the classes.

After you have figured out what the program is supposed to do, and you have a good idea of what classes you need to develop (along with what methods belong to the classes) you can start to develop the application

-Frinny

1 3196
Frinavale
9,735 Expert Mod 8TB
The first thing I recommend is that you research the "branch and bound algorithm".

The second thing I recommend is that you get the requirements for the game...so that you know what the game is supposed to do.

Write out the steps that need to be executed.
For example:
user: does this
program: does this
user: does this
program: does this

Once you know what your game is supposed to do, design classes that you will use in developing the game. A good hint determining classes that you're going to need is to go through the steps you wrote down and underline all of the nouns...these are probably going to be turned into classes....then go through and find all the verbs that are used with the nouns...these are probably going to be your methods/properties/members for the classes.

After you have figured out what the program is supposed to do, and you have a good idea of what classes you need to develop (along with what methods belong to the classes) you can start to develop the application

-Frinny
Apr 29 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

21
by: BlackHawke | last post by:
My name is Nick Soutter, I own a small game development company (www.aepoxgames.net) making our first game (www.andromedaonline.net) in java. I am writing because we are having a very...
138
by: theodp | last post by:
--> From http://www.techdirt.com/articles/20040406/1349225.shtml Microsoft Patents Saving The Name Of A Game Contributed by Mike on Tuesday, April 6th, 2004 @ 01:49PM from the...
7
by: Brandon J. Van Every | last post by:
Anyone know of any "good" open source C# game projects out there? Something that actually has a game engine and some content done, so I can just fiddle with it and do interesting / goofy things. ...
4
by: mb | last post by:
what is the best way to do this: In a game I want to a class called "Items". This class will have the game items public class Items { public int Chair public int Table . . .and so on . . .
4
by: Nathan Pinno | last post by:
Hey all, Is there a way to create a button in either pygame or livewires, that is able to be clicked and when clicked sends a command to restart the program? Thanks, Nathan Pinno -- For...
1
by: fowle040 | last post by:
I underlined and bold print my files. I need to know how to make this code into a working game. The object of the game is to have two players 1- belle and 2-beast. I want them to lose and gain...
2
by: nickyeng | last post by:
I have a class, and i try to create an object of it but it give me error in compilation. The error is something like "]b]undefined reference to 'Game::PowerUp::powerups", in constructor of...
3
by: shitalshj | last post by:
hello i wanted to know how can i create a simple game using C++. I am enggineering student and i studying computer graphics as asubject so i want to create a game wherein user gives inputs so that...
2
by: LilMeechc20 | last post by:
Hello, I have a group assignment that I have to do. We have to write a Tic Tac Toe game. One person in my group has managed to write the code for a multiplayer (human -vs- human) game and I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.