Search Results

Search: Posts Made By: amit14august
2,554
Posted By amit14august
Ohh ok. 1 second is too slow for the game i have...
Ohh ok. 1 second is too slow for the game i have made. I tried several options and 0.25 is optimum for reading the input from keyboard .With 1 second as time out the snake wont turn in time and will...
2,554
Posted By amit14august
Thank you. I'll download 3.2.57(1) version and...
Thank you. I'll download 3.2.57(1) version and change code accordingly..

I'm facing problems with array and read options from keyboard which runs fine on my machine on version 4.3.42(5) but when...
2,554
Posted By amit14august
Backward compatibility issue with GNU bash, version 4.3.42(5)
Hi,

I have made a snake game on below bash version. But it is not backward compatible. Can someone suggest a version which is most commonly used and
is backward compatible so that i can change...
Forum: What is on Your Mind? 04-22-2017
2,673
Posted By amit14august
Snake game challenge in UNIX
Hey Guys,

I have made this basic snake game but it a little bit different from conventional snake game. Learned some basics of Unix. Hope you enjoy playing it.
Please download and run on your...
4,716
Posted By amit14august
Assign two dimensional array in bash at once
Hi,

I have a 10*10 two dimensional array. How do I assign value to all it's 100 elements at once? I don't want to open two for loops and assign one by one.

Thanks,
Amit
1,500
Posted By amit14august
Thanks
Thank you. I am using unix OS
I found printf "\e[?25h\e[5;0H\e[0m" which fixed my problem
I will definitely explore tput and clear


Please use CODE tags as required by forum rules!
1,500
Posted By amit14august
Help with fixing screen position
Hey guys,

I am trying to make print a pattern with * on a 10*10 two dimensional array in a for loop and I want the incoming 10*10 to overlap the previous 10*10 so that the * look like it is...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 03:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy