|
Answer» I do understand you, problem is, I'm not sure if I can use English in my code (you know, I'm not exchange student or anything, so why should I use it). Anyway, for now more than HALF of code commands is in English. Translation of rest:
@echo off echo laivu musis. echo 2 zaidejai. echo AR norite pradeti? echo jei TAIP spauskite, bet kuri klavisa, jei ne ctrl+c. pause>NULL // 2nd line: naval battle // 2 players // do you wabt to start? // if so press anything, if not ctrl+c //these are kinda default
echo pasirinkite: echo T - Pradeti zaidima echo N - Baigti zaidima
CHOICE/c:TN
//echo pasirinkite == choice: //T == start game //N == end game
echo pirmas zaidejas iveda savo 10 laivu. 1 koordinate = 1 laivas //first player enters his fleet of 10 ships 1coordinate equals 1 ship
prn1 like message1 or msg1
:prn1 echo tokiu koordinaciu but negali, iveskite is naujo. goto firstplayer
//echo such coordinates does not exist, repeat. where u can see rem saudymas means shooting, on other echos it just says that either it's hit or missed. I believe other commands are in english already.
Anyway, I think i just need to delete variable if it's hit and next TIME on picking coordinates to output message which would say that i already hit that and it no longer exist. but then still how to check weather there are any variables left?
hope this helps a bit.Quote from: orux on November 03, 2013, 06:02:27 AM I do understand you, problem is, I'm not sure if I can use English in my code (you know, I'm not exchange student or anything, so why should I use it).
You're posting to a forum that is in English, and asking for free help. I think they are a good reasons.
After it is all done you could graciously post it for others to use, and an English copy would be widely appreciated.I will post English version here once I'm done with it, but I need to finish it first .
|