Skip to content

Commit

Permalink
Merge pull request #129 from algosup/Dev
Browse files Browse the repository at this point in the history
Final Merge
  • Loading branch information
mathiskakal authored Dec 21, 2023
2 parents 833ba14 + 53de275 commit 2e54241
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 69 deletions.
Binary file added Documents/3-PAC_Game_Manual.pdf
Binary file not shown.
Binary file modified pacMan/bin/pacman.com
Binary file not shown.
69 changes: 0 additions & 69 deletions pacMan/ghostAI.inc
Original file line number Diff line number Diff line change
Expand Up @@ -181,112 +181,76 @@ Patern4:
add bx, word [ghostIndex]
mov ax, [bx]
inc word [bx]

cmp word [bx], 20
jl ghostBeforeLeft

cmp word [bx], 40
jl ghostBeforeDown

cmp word [bx], 80
jl ghostBeforeRight

cmp word [bx], 130
jl ghostBeforeDown

cmp word [bx], 145
jl ghostBeforeLeft

cmp word [bx], 160
jl ghostBeforeDown

cmp word [bx], 180
jl ghostBeforeLeft

cmp word [bx], 200
jl ghostBeforeUp

cmp word [bx], 240
jl ghostBeforeLeft

cmp word [bx], 270
jl ghostBeforeUp

cmp word [bx], 330
jl ghostBeforeLeft

cmp word [bx], 380
jl ghostBeforeUp

cmp word [bx], 400
jl ghostBeforeRight

cmp word [bx], 440
jl ghostBeforeUp

cmp word [bx], 510
jl ghostBeforeLeft

cmp word [bx], 530
jl ghostBeforeDown

cmp word [bx], 555
jl ghostBeforeRight

cmp word [bx], 570
jl ghostBeforeDown

cmp word [bx], 590
jl ghostBeforeLeft

cmp word [bx], 610
jl ghostBeforeDown

cmp word [bx], 640
jl ghostBeforeLeft

cmp word [bx], 700
jl ghostBeforeDown

cmp word [bx], 720
jl ghostBeforeRight

cmp word [bx], 730
jl ghostBeforeDown

cmp word [bx], 780
jl ghostBeforeRight

cmp word [bx], 810
jl ghostBeforeDown

cmp word [bx], 830
jl ghostBeforeRight

cmp word [bx], 840
jl ghostBeforeUp

cmp word [bx], 860
jl ghostBeforeRight

cmp word [bx], 870
jl ghostBeforeUp

cmp word [bx], 890
jl ghostBeforeLeft

cmp word [bx], 920
jl ghostBeforeUp

cmp word [bx], 960
jl ghostBeforeLeft

cmp word [bx], 980
jl ghostBeforeUp

cmp word [bx], 1009
jl ghostBeforeLeft

mov word [bx], 0
jmp Patern2

Expand All @@ -295,103 +259,70 @@ Patern4:
add bx, word [ghostIndex]
mov ax, [bx]
inc word [bx]

cmp word [bx], 20
jl ghostBeforeRight

cmp word [bx], 40
jl ghostBeforeDown

cmp word [bx], 120
jl ghostBeforeRight

cmp word [bx], 140
jl ghostBeforeDown

cmp word [bx], 180
jl ghostBeforeRight

cmp word [bx], 205
jl ghostBeforeDown

cmp word [bx], 230
jl ghostBeforeRight

cmp word [bx], 260
jl ghostBeforeDown

cmp word [bx], 280
jl ghostBeforeLeft

cmp word [bx], 300
jl ghostBeforeDown

cmp word [bx], 390
jl ghostBeforeLeft

cmp word [bx], 410
jl ghostBeforeUp

cmp word [bx], 430
jl ghostBeforeRight

cmp word [bx], 580
jl ghostBeforeUp

cmp word [bx], 600
jl ghostBeforeRight

cmp word [bx], 640
jl ghostBeforeDown

cmp word [bx], 665
jl ghostBeforeLeft

cmp word [bx], 680
jl ghostBeforeDown

cmp word [bx], 700
jl ghostBeforeRight

cmp word [bx], 720
jl ghostBeforeDown

cmp word [bx], 730
jl ghostBeforeRight

cmp word [bx], 750
jl ghostBeforeUp

cmp word [bx], 770
jl ghostBeforeRight

cmp word [bx], 785
jl ghostBeforeUp

cmp word [bx], 820
jl ghostBeforeLeft

cmp word [bx], 850
jl ghostBeforeUp

cmp word [bx], 920
jl ghostBeforeLeft

cmp word [bx], 940
jl ghostBeforeDown

cmp word [bx], 960
jl ghostBeforeRight

cmp word [bx], 1020
jl ghostBeforeDown

cmp word [bx], 1040
jl ghostBeforeRight

cmp word [bx], 1060
jl ghostBeforeUp

cmp word [bx], 1093
jl ghostBeforeRight
mov word [bx], 0
Expand Down

0 comments on commit 2e54241

Please sign in to comment.