Csigapuszi

From Esolang
Jump to navigation Jump to search

Csigapuszi is a hungarian game of who can pinch the hardest, Which leads this to raging so hard that Its just stupid to program in this esolang Benett0222

(Inspired by brainfuck and brainfuck+)

There is 4 different types of Csigapuszi(.cspur)

Csigapuszi codeR (.cspur)

Csigapuszi codeP (.cspup)

Csigapuszi code0 (.cspun)

Csigapuszi non incrypted (.cspu)


There are 2^16(65536) bytes

All of the bytes are set to 0

The maximum number that a byte can hold is 2^8-1(255)

Bytes can overflow for example:255+1=0 0-1=255


It doesnt have a lot of commands

“+ increment to byte”

“- deincrement to byte”

“> move pointer right”

“< move pointer left”

“g(#) goto byte #”

“v(#) gets val # to Memory for instence(not incryted): ?{v(0)≠v(1)}()”

“s(v1,v2) sets byte v1 to v2”


“?{con}(code) checks if “con” is true and executes “code””

“?{con}(code)!?(codeelse) checks if “con” is true and executes “code” else executes “codeelse””

“!(code) repeats “code” forever”

“!{repeat}(code) repeats “code” “repeat” times”


“:” ends line

“;” ends funcion


“goto(x,y,[R,G,B]) lets pixel goto x,y position and lets color be R,G,B”


First ever code written in Csigapuszi codeR

!R

+gsRUQ)sRWQmR

(EE?_

Q

!+R

(CC*_

QN

+gsRWQ)\mR

nvrR<y}}oX8ov}z!Q_

nvrRsRWQQ_

QN

QN

Same as

!(

?{v(0)=v(1)}(

>++<:

)

!?(

>—<:

);

?{v(1)=2}(

prt(Hello,World!):

prt(v(1)):

);

);


How to encrypt E(a,b) turn “b” into binary and add all the numbers together in binary use the last number of the binary digit as the number shown in codeR under R (b is the number that the pointer is pointing to) E(48,3)=>48,3=>48,11=>48,0=>85

ASCII character into Decimal Decimal into encryptedDec

codes work like this

  1. |1|2|3|4|5|6|7|8|9|0

0| Encrytionrow0

1| Encrytionrow1


codeR:

R|1|2|3|4|5|6|7|8|9|0

0|1|0|3|8|9|4|6|5|7|2

1|1|3|9|6|7|5|2|0|8|4

codeP:

P|1|2|3|4|5|6|7|8|9|0

0|4|5|6|7|8|9|0|1|2|3

1|7|5|8|2|0|3|6|4|9|1

code0 or codeN

N|1|2|3|4|5|6|7|8|9|0

0|0|9|8|7|6|5|4|3|2|1

1|8|1|6|9|4|7|2|5|0|3