Everything but README

I still need to finish writing the README
This commit is contained in:
Cass "Owly" Python 2022-01-29 13:27:20 +00:00 committed by GitHub
commit 3ee98e5fec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 0 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
CC0 - Public Domain
Copyright (c) 2021 Cass "Owly" Python of Owly.Fans and a of trwnh.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

6
uca.sh Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/python
p=print
p('You are dying. 1 = live, 2 = die')
x=input()
m="You won" if x=="1" else "You died"
p(m)

18
ucg.bat Normal file
View File

@ -0,0 +1,18 @@
@ECHO OFF
:0
CLS
ECHO You are dying. 1 = live, 2 = die
set /p w=""
if %w% == 1 goto 1
goto 2
CLS
:2
CLS
ECHO You died. Press 1
set /p w=""
if %w% == 1 goto 0
goto 2
:1
CLS
ECHO You won
PAUSE