views:

131

answers:

1

I'm trying to make the game KenKen in Python.

I need some help with the pseudocode. What data types required to store and process the game information as it progresses and completes?

+2  A: 

By the sound of your question, babikar, you assumedly have very little knowledge of game programming in any language? If so, I advise that you start by looking for tutorials and books to read about both game programming in Python, and in general - the theory is usually language independent. You cannot expect people here to just give you psuedo-code - that requires time and effort for something that they would get nothing from. Creating psuedo-code can be just as hard, if not harder than writing the actual code - you are basically asking us to create your game for you.

I suggest this should be your first search.

EDIT:

To expand slightly and meet your question about actual game psuedo-code more - what exactly do you want to make, in terms of a 'KenKen' game. Is it a KenKen solver - a program that you give a KenKen puzzle to and it gives you the answer - or a KenKen generator - one that creates a KenKen puzzle for you to solve (and probably has other features too)?

Here is a post on a KenKen solver in Python - but if you are going to make one of these, I wouldn't read his code or it will just ruin the making for you.

Stephen
+1: well said. i hope the user works on it on his own in the end...
eruciform
i was trying to make a kenken game! and you just sent me the codes?!?!? and all u guys just say we dont give codes?!?!? crazy people!
babikar
@babikar We don't sit and write code for you - pseudo or otherwise. What I have linked there is a post where someone else has written their *own* code to solve KenKen puzzles, since you might find it useful to **refer** to when writing your own. Of course, that is only if you are making a solver - as it says in my post, that might not even be what you're wanting to do. I think you perhaps have underestimated the complexity of either a Kenken solver or generator - it is not a simple task, and begins not with the programming but with understanding how the game really works.
Stephen
You fool! You just sent him the codes! Go to DEFCON 1 immediately!
Alex Bliskovsky
wooow u guys!! so wat if he sent me the answer!! u guys r .....
babikar