Thread: is this easy

  1. #1
    Registered User
    Join Date
    Nov 2005

    is this easy

    hi, im new to programming, just wondering if making a fighting game, in dos mode, where u take in turns to do stuff, like a text game?


    both start with 100% health bar [ |||||||||||||||||||||||||| ] goes down a bit when u get hit.

    u both take in turns to do a move... punch, kick, elbow, headbut, knee, etc... and it has a like, random chance of hitting.. something like random numbers like, 4, 9, 5,12,19 between 1 and 25 and if lands on that number u hit em, if not it fails and its their turn to try it.

    any sites to help a bit about stuff like this or any sources for me to check out?

  2. #2
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Is your problem generating random numbers?
    if so then check here

    If not, then I'd suggest reviewing the basic tutorails( of c++ and/or posting here with a little more info

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Seg fault in easy, easy code
    By lisa1901 in forum C++ Programming
    Replies: 11
    Last Post: 12-10-2007, 05:28 AM
  2. Java vs C to make an OS
    By WOP in forum Tech Board
    Replies: 59
    Last Post: 05-27-2007, 03:56 AM
  3. Replies: 20
    Last Post: 05-25-2002, 07:14 PM
  4. EASY GUI development.. like with Qt?
    By rezonax in forum C++ Programming
    Replies: 2
    Last Post: 09-16-2001, 01:18 PM