User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 456,593 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,500 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser: Programming Forums
Views: 2530 | Replies: 12
Reply
Join Date: Sep 2007
Posts: 13
Reputation: glowkazaf is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
glowkazaf's Avatar
glowkazaf glowkazaf is offline Offline
Newbie Poster

assembly simple games(Nasm)

  #1  
Sep 10th, 2007
Help!!!!anyone who has the idea of creating a simple assembly games!!!please!please!!!even without the codes..just the idea of what kind of game...It's important for me...It's for our final project in Assembly...Thank you!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Location: 55 26'N 118 46'W
Posts: 184
Reputation: Tight_Coder_Ex is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 13
Tight_Coder_Ex's Avatar
Tight_Coder_Ex Tight_Coder_Ex is offline Offline
Junior Poster

Re: assembly simple games(Nasm)

  #2  
Sep 10th, 2007
One that I've done and called it Phrase Guess was pretty simple. Allow player to enter a phrase or sentence, pretty well anything, including a clue. Then it's redisplayed with just underscores but in a way you can tell how many words there are and number of letters in each one. Assign weight values to each letter. For example 'E',s and vowels would have a value of 10 and the least common letter would have one.

I could go on for quite a while, but if you are interested in this one then start here first and I will help you as you go on or at leaset try. I don't have a linux box anymore so if your using ncurse your pretty well on your own as far as the interface goes.
Reply With Quote  
Join Date: Sep 2007
Posts: 13
Reputation: glowkazaf is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
glowkazaf's Avatar
glowkazaf glowkazaf is offline Offline
Newbie Poster

Re: assembly simple games(Nasm)

  #3  
Sep 11th, 2007
Actually I understand only few topics in our subject which is about assembly because our teacher is just reading the notes and don't discuss further and explain what's the content all about. Then after the lecture, she will give us an exercise and luckily sometimes I can make it. We are using linux. Can you give me just the part of your code??If it's ok to you. Thank you. Have a good day!
Reply With Quote  
Join Date: Feb 2005
Location: 55 26'N 118 46'W
Posts: 184
Reputation: Tight_Coder_Ex is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 13
Tight_Coder_Ex's Avatar
Tight_Coder_Ex Tight_Coder_Ex is offline Offline
Junior Poster

Re: assembly simple games(Nasm)

  #4  
Sep 11th, 2007
Actually, I won't give you any code. This is in part to the fact and like I said I don't have a linux box. You probably won't find anyone else to give you code on this site either. What I can do for you though, is start breaking it down and then you build the code for each part and I can verify for you whether it's going to work or not.
Reply With Quote  
Join Date: Sep 2007
Posts: 13
Reputation: glowkazaf is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
glowkazaf's Avatar
glowkazaf glowkazaf is offline Offline
Newbie Poster

Re: assembly simple games(Nasm)

  #5  
Sep 13th, 2007
Actually I don't have any idea yet for my project...I don't know what kind of game or any kind of project I'd like to make...Please help me...thank you...have a good day!
Reply With Quote  
Join Date: Feb 2005
Location: 55 26'N 118 46'W
Posts: 184
Reputation: Tight_Coder_Ex is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 13
Tight_Coder_Ex's Avatar
Tight_Coder_Ex Tight_Coder_Ex is offline Offline
Junior Poster

Re: assembly simple games(Nasm)

  #6  
Sep 13th, 2007
Originally Posted by glowkazaf View Post
Actually I don't have any idea yet for my project...I don't know what kind of game or any kind of project I'd like to make
I've already given you one idea, apart from that there's not much I can do until you decide on something
Reply With Quote  
Join Date: Sep 2007
Posts: 13
Reputation: glowkazaf is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
glowkazaf's Avatar
glowkazaf glowkazaf is offline Offline
Newbie Poster

Re: assembly simple games(Nasm)

  #7  
Sep 14th, 2007
ahay...i don't know what to do now...i don't know where to start.....
Reply With Quote  
Join Date: Feb 2005
Location: 55 26'N 118 46'W
Posts: 184
Reputation: Tight_Coder_Ex is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 13
Tight_Coder_Ex's Avatar
Tight_Coder_Ex Tight_Coder_Ex is offline Offline
Junior Poster

Re: assembly simple games(Nasm)

  #8  
Sep 14th, 2007
Post notes on all the things you want the program to do and what the user interface is going to look like.

#1: Maximum length of input
#2: Number of players
#3: Scroing method
#4: Ability to save games/scores (yes/no)
#5: Clue(s)

To give yourself control over keyboard, color and cursor positioning I would recommend curses library, but termio works alright too.

So basically think of the program as you conceptualize it virtually then start making notes as if you were actually playing it. Assuming you want to do the app I've mentioned earlier, I would start with the entry and then center it vertically and horizonally on the screen only using 60% of the screens width.

Examle: EARTH IS THIRD PLANET FROM SUN

Output:

----- -- ----- ------ ---- ---

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

So as player selects letters they will disappear from display below and if applicable replace '-''s. The scoring method I used was give each letter a wieght value of 1 to 10. 10 being most frequently used letter, usually vowels and 1 to least used like 'X'

If you next post doesn't have any meaningful code then there's not much point going on, because I'm not going to start writing the program for you.
Reply With Quote  
Join Date: Sep 2007
Posts: 13
Reputation: glowkazaf is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
glowkazaf's Avatar
glowkazaf glowkazaf is offline Offline
Newbie Poster

Re: assembly simple games(Nasm)

  #9  
Sep 17th, 2007
hi...gud day!!!
i really appreciated your effort for helping me..our teacher decided that our project will be composed of 2 members so i already have my partner...my partner and I decided to work for a game which is about memory..or pair of numbers...so we gonna work for it..actually we haven't decided yet what will be our approach...i would like to say thank very much!!!!god bless...again have a nice day! i'm gonna ask you if it's alright to ask anything regarding our project???thank you!!!
Reply With Quote  
Join Date: Feb 2005
Location: 55 26'N 118 46'W
Posts: 184
Reputation: Tight_Coder_Ex is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 13
Tight_Coder_Ex's Avatar
Tight_Coder_Ex Tight_Coder_Ex is offline Offline
Junior Poster

Re: assembly simple games(Nasm)

  #10  
Sep 17th, 2007
Sure, would be glad to help if you need it.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Assembly Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Assembly Forum

All times are GMT -4. The time now is 6:46 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC