Skip to content

santuchoagus/BasketballAsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏀 Basketball Assembly project 💾

Basketball game using TASM for x86 architecture.

This is a personal game assignment for my university. it uses Borland's Turbo Assembler, this can be executed using DOSBox intel 8086 emulator. The executable is already uploaded. You may encounter certain bugs like cursor erasing part of the map, this was done in a week so I didn't have time to polish or add a scoring system. The comments are in spanish but I will consider translating it to english in my free time.

if you want to compile and link it yourself you need to install TASM properly and execute the next commands.

TASM MAIN
TASM LIB
TASM BRAIN
TLINK MAIN LIB BRAIN

Features ⭐

  • Random level generator
  • There is an internal logic for generating random levels on a desired difficulty (currently two supported). This will change ball size, floor height, hoop distante, hoop's frame height and width.
  • Hoop collision
  • Ball will collide with the hoop from every direction; uses basic linear interpolation.
  • Reset
  • The game will automatically reset after a miss, returning to the default DOS text mode.
  • Trail modes
  • On MAIN.ASM line 18, you can switch the display trail mode if you change GAME_MODE data byte value on the data segment. Support up to three modes in hexadecimal... 00H: Default (no trail), 01H: Debug (draws the trajectory), 02H: Trail (shows the previous position in light blue).

Gameplay ⭐

Use W A S D to move your cursor which indicates the direction and power relative to the ball current position. Use Space to confirm and launch the ball.

About

Basketball game using TASM for x86 architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published