Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Small Games
Author | Message | ||||
heppy36 Regular Member Joined: 29/07/2011 Location: AustraliaPosts: 54 |
Hi my son and I have been having great fun with the Maximite,I only do basic stuff,make led's chase and small tasks,he loves the few text games we down loaded from the web site.Has anyone any little games they have written?or any converted we can try,its great to see young people eyes light up when when using this great unit. Thanks Martin Heppy |
||||
ajkw Senior Member Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Martin, Perhaps you would like this game I have 'ported' to the Maxitmite. I originally played it on the Apple II in my youth. Seemed like a good one for the Maximite. My Maxitmite is dedicated VGA and whilst I have tried to deal with the different resolutions that are available I have not tested it on any other than VGA, I think most are running VGA screens anyway. 2011-08-01_213232_artil.zip My 5 yr old daughter requests to play it and my 3yr old son joins in too. Cheers, Anthony. |
||||
heppy36 Regular Member Joined: 29/07/2011 Location: AustraliaPosts: 54 |
Thanks Heaps I will try tonight Heppy |
||||
rhamer Senior Member Joined: 06/06/2011 Location: AustraliaPosts: 174 |
Bring back the text based adventure games I say.......... I remember playing a game on CP/M called Advent, which I think was called Zork on later platforms. It started with something like "your in a cabin by a stream, next to a forest" or something like that. I remember it had a maze that I got stuck in, so my brother printed out all the accompanying files, figured out the linkages and drew a map so I could get out. Took about 2 weeks, but I did eventually survive. Cheers Rohan Rohan Hamer HAMFIELD Software & Hardware Solutions Makers of the Maximite Expander. http://www.hamfield.com.au |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Yeah I enjoyed the old text games. They were good fun. Does anyone know of any that can be cut/pasted?, buggered if I would type in a program listing from scratch. I still waiting for someone to come up with Space Invaders for the Maximite Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
Hi Glenn, Look at this one in QBasic: http://www.o-bizz.de/qbdown/qbspiele/qbInvade.zip There you can see other types of games made in qbasic, maybe a source of inspiration. Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
A VIsual Basic project (space invaders) Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
seco61 Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 205 |
Another simple game that hopefully will engage the young ones: new 100 ' Abagel - Guess a three letter word 200 ' Print instructions 202 cls 205 ? "All the words I know have 3 letters in them." 210 ? "I will think of a word, and you try to guess it." 215 ? "Each time, just type a three letter word (of your own)" 220 ? "and see what I say." 225 ? 230 ? "'Bagels' means none of your letters are in my word." 235 ? "But for each letter that is in my word, I will say" 240 ? "'Fermi' if it is in the right position, or 'Pico'" 245 ? "if it is in a different position. 250 ? 255 ? "But I will not tell you which letters I mean - you have" 260 ? "to use your head to figure that out!" 270 ? 280 ? "Type 'Q' to quit." 300 ' Read the word to be guessed 302 restore 304 read n 306 r=int(n*rnd(0)) 307 for k=1 to r 308 read w$ 309 next k 310 read t$ 320 w$=ucase$(t$) 330 if mid$(w$,1,1)=mid$(w$,2,1) then 302 340 if mid$(w$,1,1)=mid$(w$,3,1) then 302 350 if mid$(w$,2,1)=mid$(w$,3,1) then 302 360 ? 370 ? "OK. I have a word." 380 ? 400 ' Input a guess 410 ? 420 ? "What is your guess?" 430 input t$ 435 g$=ucase$(t$) 440 if len(g$)=3 then 470 442 if len(g$)<>1 then 450 444 if g$<>"Q" then 450 445 ? 446 ? "Bye." 447 ? 449 goto 999 450 ? "My word has three letters." 460 goto 410 470 if mid$(g$,1,1)=mid$(g$,2,1) then 510 480 if mid$(g$,1,1)=mid$(g$,3,1) then 510 490 if mid$(g$,2,1)=mid$(g$,3,1) then 510 500 goto 600 510 ? "No two letters are the same." 520 goto 410 600 ' Compare guess with computer's word 610 f=0 620 p=0 630 for j=1 to 3 640 for k=1 to 3 650 if mid$(g$,j,1)<>mid$(w$,k,1) then 720 660 if j=k then 700 670 ? "Pico "; 680 p=p+1 690 goto 720 700 ? "Fermi "; 710 f=f+1 720 next k 730 next j 740 if f+p>0 then 770 750 ? "Bagels "; 755 ? 760 goto 400 770 if f=3 then 800 780 ? 790 goto 400 800 ' Player has guessed the word 805 ? 810 ? 820 ? "You got it! My word is ";w$ 830 ? 840 goto 300 900 ' Here is the data - first number is the number of words 901 data 152 905 data "try","had","hid","kid","few","lie","tie","buy" 910 data "sat","fat","hat","nap","pan","fan","sew","now" 915 data "pat","tap","tip","hut","hot","she","sum","met" 920 data "pot","apt","win","run","lip","pet","art","cup" 925 data "pun","cat","map","lap","out","dot","are","for" 930 data "and","but","tub","cry","let","wed","led","irk" 935 data "sky","cue","ten","wet","saw","was","cut","the" 940 data "far","you","him","her","erg","alp","ink","pen" 945 data "pin","dig","dew","amp","why","sun","son","opt" 950 data "pig","dog","bet","end","log","mid","hex","fix" 955 data "axe","dim","win","new","dry","mad","sad","dam" 960 data "may","say","yes","two","fed","fry","bid","top" 965 data "red","gay","hay","sly","fly","fit","sin","fin" 970 data "man","men","hen","sit","bit","hit","sag","gas" 975 data "nip","nib","bin","bag","lag","got","lot","use" 980 data "mat","bed","die","lad","lid","zen","wry","not" 985 data "ban","can","ran","tan","van","big","fig","jig" 990 data "don","won","ton","cot","jot","rot","bye","day" 995 data "tin","any","kit","has","age","old","yet","aim" 999 end Regards Gerard (vk3cg/vk3grs) |
||||
sparkey Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 819 |
rohan i had zork and i also had a copy of the first smart work pcb platform designer... ::happy 36 there are some basic games in geoffs website in the mm manual libary as well geoff.net i think is his site or just look for a refence to a maximite download regards sparkey .... technicians do it with least resistance |
||||
Bill.b Senior Member Joined: 25/06/2011 Location: AustraliaPosts: 226 |
then adveture game was colossal caves 2011-09-04_145500_adv551.zip this file can be played on a PC I do not cave then original code to convert for the maximite. In the interests of the environment, this post has been constructed entirely from recycled electrons. |
||||
seco61 Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 205 |
Hi. As I used to play the good old text based Adventure game when I was somewhat younger (using the resources of one of the University computers - not exactly sanctioned....) I have a very fond memory of the game. I have downloaded the original Crowley source as well as the Woods modified code (which is what I would use as a base for any conversion). As I use to program in Fortran in the very dim distant past, I have enjoyed reading the code and understanding some of the "interesting" code that was used to create the game. I would love to convert this to be able to play on the Maximite (for old times sakes!!) - however, to have any hope of this I would have to add integer variables to MMBasic. I know how to do this, but will be waiting until Geoff has released what he considers to be a stable source base (maybe v2.7?) before I do this. And it will still be a very challenging conversion.... Regards Gerard (vk3cg/vk3grs) |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Adventure would be great (I used to play it too). Just a quick question, why does it need integers? Geoff Geoff Graham - http://geoffg.net |
||||
seco61 Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 205 |
Hi Geoff. The code (written in early Fortran) was designed to run on a PDP10 computer. Fortran did not have any real facility to manipulate text data, but the A type could be used to store bytes of text in the "word" of the machine. The PDP10 had a word size of 36 bits, so could store 5 x 7 bit characters with one unused bit. All the code is written using integers and all the word handling is done with integers. My intention (so I do not have to completely rewrite the logic) is to use a similar scheme but will store only 6 bits per character (64 characters is enough to handle all the caharcters used by the game). This technique is also quite effective at keeping the variable space required down, as the resources on the early computers was at a premium. And the Adventure game is quite a large program, so to fit it on the Maximite may still prove a challenge. Apart from the Adventure game, I can also see where the ability for the interpreter to work with integers (as well as floats) would be very beneficial to a lot of embedded programming applications as a lot of the processing in these does not need to be with floats. I would also be providing shift and bitwise OR, AND and XOR operands (for use with integers only). Regards Gerard (vk3cg/vk3grs) |
||||
BobDevries Senior Member Joined: 08/06/2011 Location: AustraliaPosts: 266 |
Hi Bill.b and all, The source for Colossal Cave Adventure is available in various places on the web. I have the source for a version here which was written/converted for the OS-9 operating system (Microware Inc). Various C versions are available as well as the original Fortran code. Regards, Bob Devries Dalby, QLD, Australia |
||||
Print this page |