You can tweak the variables like draftFromBehind, draftLength, etc. to get a more realistic program. The values I posted were chosen mostly for entertainment value. Side drafting is the most effective, which allows cars to pass each other.
The three sets of numbers are MPH (at the top), race ...
Search found 43 matches
- Sun Apr 08, 2018 10:47 am
- Forum: Games
- Topic: Stock Car Racing
- Replies: 2
- Views: 13977
- Thu Mar 29, 2018 3:55 pm
- Forum: Games
- Topic: PacMan style game
- Replies: 0
- Views: 19295
PacMan style game
This is a demo of a PacMan style game. Very small.
nomainwin
' find how much whitespace the windows scheme is taking
' Anatoly's tip
WindowWidth = 200
WindowHeight = 200
open "Ajusting..." for graphics_nf_nsb as #1
#1, "home ; down ; posxy w h"
w=200-2*w : h = 200-2*h
close #1
width = 10 ...
nomainwin
' find how much whitespace the windows scheme is taking
' Anatoly's tip
WindowWidth = 200
WindowHeight = 200
open "Ajusting..." for graphics_nf_nsb as #1
#1, "home ; down ; posxy w h"
w=200-2*w : h = 200-2*h
close #1
width = 10 ...
- Sat Mar 10, 2018 4:43 pm
- Forum: Games
- Topic: Stock Car Racing
- Replies: 2
- Views: 13977
Stock Car Racing
'RANDOMIZE .1
GLOBAL cars, flicker, BMPList$
cars = 30
'----------
DIM carX(cars)
DIM carY(cars)
DIM carSPD(cars)
DIM laneChange(cars)
DIM DEC(cars)
DIM ACC(cars)
DIM AIR(cars)
DIM DRAG(cars)
DIM HP(cars)
DIM GRIP(cars)
DIM MO(cars)
'----------
nomainwin
WindowWidth = 200 ...
Boxing
Here's a little guessing game designed around a boxing match!
Choose 1, 2, 3 or 4 each round to try and win.
Choose 1, 2, 3 or 4 each round to try and win.
- Sat Feb 23, 2013 10:09 pm
- Forum: Games
- Topic: A little gadget game.
- Replies: 1
- Views: 12287
Re: A little gadget game.
Here's a few levels I've put together. They may be in reverse order of difficulty, I'm not sure.
- Thu Jan 17, 2013 5:00 am
- Forum: Games
- Topic: Mad Max driving game
- Replies: 0
- Views: 26622
Mad Max driving game
Here's a bit of demo code for a possible driving game.
Controls:
Accelerate / decelerate with the up and down arrow keys
Steer left / right with the mouse pointer
Spacebar to tap the brakes
Controls:
Accelerate / decelerate with the up and down arrow keys
Steer left / right with the mouse pointer
Spacebar to tap the brakes
- Fri Oct 26, 2012 6:13 pm
- Forum: Utilities
- Topic: Just TEXT - custom text editor
- Replies: 5
- Views: 17138
Re: Just TEXT - custom text editor
A code editor written in JB. It's primarily the Just TEXT text editor, but also has syntax highlighting. This program has a poor attempt at highlighting unique (i.e., misspelled) variable names. There are a number of improvements that can be made.
In this version:
' remembers some settings: last ...
In this version:
' remembers some settings: last ...
- Thu Oct 18, 2012 2:29 pm
- Forum: Utilities
- Topic: Just TEXT - custom text editor
- Replies: 5
- Views: 17138
Re: Just TEXT - custom text editor
Bold? Yes, that can be done. It works by having a bold font exactly the same size as the regular font, in this case I'm using Source Code Pro font, available at 1001fonts.com, and in this zip file (i hope)
To install the fonts in Windows 7, simply extract them, then right click and choose install.
To install the fonts in Windows 7, simply extract them, then right click and choose install.
- Sat Jul 21, 2012 8:24 pm
- Forum: Games
- Topic: Corporation
- Replies: 0
- Views: 24071
Corporation
Here is a computer version of the game "Corporation" , by Eric Solomon.
The idea of the game is to promote your three playing pieces through the hierarchy of corporate management. Players adjust the criteria for promotions by swapping colored discs on the "Director's Table" then advancing playing ...
The idea of the game is to promote your three playing pieces through the hierarchy of corporate management. Players adjust the criteria for promotions by swapping colored discs on the "Director's Table" then advancing playing ...
Re: AI Ants
This version does not use simultaneous movement. Each ant is asked in turn, where he wants to go. This seems to cause MORE traffic jams!
These ants still only see the area around them, but they do not remember the nest location. Instead, they leave pheromone trails.
Click on the map to cycle view ...
These ants still only see the area around them, but they do not remember the nest location. Instead, they leave pheromone trails.
Click on the map to cycle view ...
AI Ants
Artificial Intelligence Ant Colony
This version has ants that move simultaneously. If two or more ants attempt to move to same square, none will move.
The ants see only the themselves and the eight squares around them. Each ant has a behavior that may change and a memory that indicates the ...
This version has ants that move simultaneously. If two or more ants attempt to move to same square, none will move.
The ants see only the themselves and the eight squares around them. Each ant has a behavior that may change and a memory that indicates the ...
- Mon Jan 02, 2012 7:50 pm
- Forum: Games
- Topic: tower defense
- Replies: 7
- Views: 11050
Re: tower defense
Watch out! Now the creeps change their path.
- Thu Dec 29, 2011 5:43 am
- Forum: Games
- Topic: tower defense
- Replies: 7
- Views: 11050
Re: initialization
This version of Christmas Defense:
*** restarts if you lose the game, re-initializing the important variables
*** eliminates the mainwin as per wayne in the forum thread
*** eliminates the unnecessary creepPosX() and creepPosY() arrays
*** uses the tougher nextWave schedule to make game challenging ...
*** restarts if you lose the game, re-initializing the important variables
*** eliminates the mainwin as per wayne in the forum thread
*** eliminates the unnecessary creepPosX() and creepPosY() arrays
*** uses the tougher nextWave schedule to make game challenging ...
- Sat Dec 24, 2011 5:13 pm
- Forum: Games
- Topic: tower defense
- Replies: 7
- Views: 11050
Chrismas Defense 3
Christmas Defense 3
The North Pole Snowmen always play a friendly game of "Snowball ambush" as the elves head to work on the morning before Christmas. This year, you get to help them win!
In this version, the Reindeer can add a much needed boost to the festive ambush. The Reindeer snowballs ...
The North Pole Snowmen always play a friendly game of "Snowball ambush" as the elves head to work on the morning before Christmas. This year, you get to help them win!
In this version, the Reindeer can add a much needed boost to the festive ambush. The Reindeer snowballs ...
- Fri Dec 23, 2011 8:20 pm
- Forum: Games
- Topic: tower defense
- Replies: 7
- Views: 11050
tower defense
EDIT: I see that this has been downloaded many times, but I would suggest scrolling down to get the InitDefense.zip or one of Cassiope's versions. This original version is mainly for historical purposes- it's too simplistic.
A very, very simple tower defense game.
Instructions:
The creeps walk ...
A very, very simple tower defense game.
Instructions:
The creeps walk ...