I’m trying to make a batch file-based game, and i want to be able to collect user input. It should be a bit like the pause command, but asks for input from the user.
I don’t have much code yet, because this is at the start of a program, but heres what I have so far:
@echo off
echo Start the game? [Y/N]
Here’s what the output should look like:
Start the game? [Y/N]
y
Does anyone know what I can do to solve this?
New contributor
ProCoder2040 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.