0

Hi, i want to print game over screen for my snake game in c++.

my screen size is 24*80, i dont want to change it.
i try to print somethink like this:

 ________  ________  _____ ______   _______           ________  ___      ___ _______   ________     
|\   ____\|\   __  \|\   _ \  _   \|\  ___ \         |\   __  \|\  \    /  /|\  ___ \ |\   __  \    
\ \  \___|\ \  \|\  \ \  \\\__\ \  \ \   __/|        \ \  \|\  \ \  \  /  / | \   __/|\ \  \|\  \   
 \ \  \  __\ \   __  \ \  \\|__| \  \ \  \_|/__       \ \  \\\  \ \  \/  / / \ \  \_|/_\ \   _  _\  
  \ \  \|\  \ \  \ \  \ \  \    \ \  \ \  \_|\ \       \ \  \\\  \ \    / /   \ \  \_|\ \ \  \\  \| 
   \ \_______\ \__\ \__\ \__\    \ \__\ \_______\       \ \_______\ \__/ /     \ \_______\ \__\\ _\ 
    \|_______|\|__|\|__|\|__|     \|__|\|_______|        \|_______|\|__|/       \|_______|\|__|\|__|

i used raw string but every time this printed in a mess, I understand that because of the screen size.
Does anyone know another way I can print it, so it will look good?
Of course I would also like the idea of otherwise cool game over screen.

2
Contributors
1
Reply
10
Views
1 Year
Discussion Span
Last Post by rproffitt
0

My guess is the font isn't fixed width. I don't have much of your code or device to work with (in fact none) but the most common gaffe is the font used.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.