Rock-paper-scissors: Difference between revisions

Content added Content deleted
m (Add to the Games category)
(→‎BASIC: removed FreeBASIC note; successfully tested in QBasic)
Line 168: Line 168:
=={{header|BASIC}}==
=={{header|BASIC}}==
{{works with|QBasic}}
{{works with|QBasic}}

Note that this was tested in [[FreeBASIC]] using the <code>-lang qb</code> switch, not actually in QBasic.


<lang qbasic>DIM pPLchoice(1 TO 3) AS INTEGER, pCMchoice(1 TO 3) AS INTEGER
<lang qbasic>DIM pPLchoice(1 TO 3) AS INTEGER, pCMchoice(1 TO 3) AS INTEGER