10.03.2019 - Round 1 results of our "A Love Letter For FreeBASIC" game dev competition have been published. Please be sure to check the results thread: http://games.freebasic.net/forum/index.php?topic=629.0. Don't forget that the competition is continuing with a round 2, lasting till 29th of April, 300 USD first prize. Stay tuned!

Author Topic: RPG I am starting good for (Newbe)  (Read 2194 times)

neo

  • Novice
  • ***
  • Posts: 90
    • View Profile
    • Email
RPG I am starting good for (Newbe)
« on: July 14, 2010, 11:40:39 AM »

Code: [Select]
dim lastname as string
dim namee as string
dim age as single
dim sex as string 
dim race as string

input "(what is your name ?)", namee
print namee

input "(What is your lastname ?)", lastname
print lastname

input "(What is your age ?)", age
print age
 
print "( If pick your sex (m) for male or (f) for female. )"
input "( pick your sex ?)" , sex
if sex = "m" then print "(you are male)",sex

if  sex = "f" then print "(you are female)", sex



print"________(List of race's)__________"
print "(H-for Human.)"
print"________________"
print "(E-for Elf.  )"
print"________________"
print "(O-for Org.  )"
input"(What race will you be ?) " , race


if race = "h" then print "(You have pick being a HUMAN.)"

if race = "e" then print "(You have pick being a Elf.)"

if race = "o" then print "(You have pick being a ORG.)"


sleep 5000



IF you can make a game that's cool and fun....
in time you may have a good job in time ......

its like at the end of doom 2 what do i have to kill next lol put code in my brain and i will think mmmm css rocks