Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
steini1977
c64basic
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
c64basic
/
face-off
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
43 lines (43 loc) · 1.11 KB
master
Breadcrumbs
c64basic
/
face-off
Copy path
Top
File metadata and controls
Code
Blame
43 lines (43 loc) · 1.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
1 :rem program faceoff
2 :
10 rem copy routine
11 for n=0 to 26: read dt
12 :poke 828+n,dt:next
13 data 169,000,160,208,133,095,132,096
14 data 169,000,160,224,133,090,132,091
15 data 169,000,160,064,133,088,132,089
16 data 076,191,163:::::::::::::::::::::
17 rem copy $d000-$dfff -> $3000-$3fff
19 rem char set rom into ram
20 poke 56334,peek(56334) and 254
21 poke 1,peek(1) and 251
22 sys 828 : rem copy chars
23 :
24 poke 1,peek(1) or 4 : rem c rom off
25 poke 56334,peek(56334) or 1:rem irq
26 poke 53272,peek(53272) and 240 or 12 : rem char set ram at $3000
99 :
100 :
130 for cnt=0 to 7:read dt
131 poke 12288+(8*27)+cnt,dt:next
133 data 54,127,73,127,119,34,62,0
134 :
200 print chr$(147):rem clr screen
201 for n=0 to 30*39
202 print;"[";
203 next:print chr$(19);
209 :
210 poke 646,1:rem text color white
220 rt$=chr$(29):lf$=chr$(157)
225 up$=chr$(145):dw$=chr$(17)
226 :
230 print;" ";lf$lf$lf$dw$;
233 print;" [ ";lf$lf$lf$dw$;
234 print;" ";lf$lf$lf$up$up$;
235 h%=rnd(1)*3
237 v%=rnd(1)*3
240 if h%=2 then print;rt$;
245 if h%=0 then print;lf$;
250 if v%=2 then print;dw$;
255 if v%=0 then print;up$;
259 goto 230
You can’t perform that action at this time.