An official Batch Programming blog! To Solve the daily problems with windows and fixing them with little notepad scripts. Unlock the Hidden Secrets of Windows, Learn to crack Software via CMD & Make your own Programming tools. Understand to Manipulate your PC via CMD.

Chess Clock ver.1.0 by Kvc

CHESS CLOCK VER.1.0: Hey hello programmers, #TheBATeam is again back with an awesome application/program created in Batch.

As this is not that type of program which we can expect all of our users will use, but you must give it a try. You’ll definitely learn something from its code and any suggestion for improvement of the code will help us learn more from your side.

From the last semester, #TheBATeam re-started playing the awesome ‘Royal Game’. Which not only astonishes one’s mind but also improves one’s tactical and calculation skills. Results in enhancing the decision-making ability in various stressful conditions.

CHESS CLOCK

But it seems like, the game is an addiction and I can’t resist playing it while playing a time-controlled game with my Chess coach. I came to know about a program called ‘The Chess Clock’.

But it was readily available for the ‘Android Phones’ but there is no satisfactory program for directly using in windows.

Startup screen

The functioning of the Program seems simpler to me… (Somewhat similar to ‘The Stopwatch by Catur Surya’) and then #TheBATeam decided to take it as a next project. Then we made this program in One day but all the other phases (except coding) designing, functions, etc. consumed some extra days.

The Interface design and the Startup animation are all created using ‘batbox.exe’ plugin of the batch. let’s talk about the program now…


User Interface

The UI of this chess clock program uses the plugin ‘CmdMenuSel.exe’. It is an awesome 900 KB’s of the batch plugin, which allows users to generate a static menu list, from which the user can select one of the options using MOUSE or KEYBOARD. The plugin is created in Cpp.


Quick Games option

It is a recommendation of #TheBATeam that you should use the mouse more while interacting with this program as Some of its phases require Only Mouse interaction (e.g. Quick Games option).


Help Menu

The help menu shown above may help you in some ways, but if you are still in doubt, you may ask your query below in the comment field.

Also Read:  Display Box Layout in CMD | Box Function 2.0 By Kvc

The 3D text Shown above is Printed only by using 2 times calling a simple batch function named ‘The Typography function ver.1.0’. And the options below contains individually the two options as ‘Player 1 time’ and ‘Player 2 time’.


A look at the 3D text

If you want to play a custom time match and both the players will have the same time for thinking. Then you can simply ‘Set Time for Player 1’ and ‘The time of player 2’ will automatically be set according to that.

CHESS CLOCK VER.1.0


Setting up player 1 time

But in case, both players want different time limits, then simply you have to ‘Set the time of player 2′ after setting up a time for player. 1’.Do notice that, The time of player 1 will affect the setting of player 2… but not vice versa.


Timer Screen

As you can see easily, the main timer screen has a footer telling about all the possible key-presses which will help you in controlling the various situations of the Chess clock program…

E.g.: You have, ‘P’ for the ‘Pausing’ the timer of both players.’ S’ for ‘Stopping’ time of both players, etc.


Pressed ‘P’ key

The program uses multi-threading for playing the click sound, So while playing the sound it approx. Don’t affect the real-time calculation.

When the time of any of the players will be left below 20 seconds, it starts playing a warning beep with each sec. The time of that player goes down. It may help you in the blitz games, where you have some Increment on each move.

At last, we hope that you’ll like our work in the field of batch programming. Do comment about the design, layout, functions used, help or any other query in the comment field below. Do appreciate this program via your comments…

Keep learning, keep sharing…

Be Happy, Spread happiness…

Next Post

Previous Post

Leave a Reply

© 2020 TheBATeam

Theme by Anders Norén