User:BCompton

From Esolang
Jump to navigation Jump to search

Languages I've Created

Languages I've implemented

Battleship in Befunge

The board is the area from 1, 1 to 10, 10 on the play field. The total number of hits necessary for a win should be stored in 0, 0. If it is more than 9, just keep going with ASCII 58 (:) , 59 (;), etc.

91234567890>0")01 - 1(X retnE">:#,_&092+p   v
1      **         v1&<   v"Enter Y(1 - 10)"0<
2                 9>v    >:#,_v              
3   *             2g1^        <
4   *           v<++9          
5   *            -p22
6   *            *09+
7                7>^g   >               v
8  ***          #^6g<   ^pg+291g+290"-"<
9               >091+"!dessiM uoY">:#,_^                       
0               |
xy         ^                            <  <
v    " Hit!"+190<
>"tceriD">:#,_"X"092+g192+gp00g1-:00p68*-  |
v                           "You won!"+190 <
>:#,_@