Google
 
Web freesourcecode.blogspot.com
Subscribe to Free Java Source Code !!!

Wednesday, June 07, 2006

Play Online Thambola . Housie . Bingo !!!!!!!

This site has been moved to http://www.99applications.com
To download code/application click the following link 99applications.com/java_programs and you can also find many c and c plus plus common programs in C & C++ section


Thambola LAN v 1.0


Figure 00 ( Basic Interface)

This is Online Thambola LAN/Internet Game. Its a multiplayer game. This application can be used as a "Server" or "Client".

Download your application according to your Operating System..

Download Thambola Windows Application
Download Thambola Windows Command Line Application
Download Thambola Linux Application
Download Thambola Solaris Application
Download Thambola JAR File

Note: To Run the Application make sure that Your system contains Java Runtime Environment.
Use WinRAR to unzip the downloaded file.

About ThambolaLAN Application:

This application is based on the original Thambola Game often called Housie, Bingo and many more. In Thambola Game, one person will draw the numbers and announce, similarily here one person will host the game and all the others will join the game. Each person can draw a maximum of 3 tickets from server( host ). When ever the server starts the game, clients will be getting the number on his screen.

Instructions on how to play:

Figure 01: Server Interface

  • After downloading the application. unzip it using winRAR.
  • Open the Application
  • To make the Application as Server or Hosting the Game:
    • Click on the Listening( Located at top-right corner ) and then Specify a Port to Listen on. See figure one
Figure 01: Listen and Connect To

    • Click on GO
    • If it is successfull then new Window will open (ServerStatistics) as shown in figure two.

Figure 02: Server Statistics

    • In Server Statistics Specify the number of tickets you want to generate for the game Click on Generate Game, It may take some time if you specify more number of tickets
    • After Generating the game, You can set a timer to start the game or you can start the game immediately
    • Server will start sending the numbers to clients connected
    • To view the finished numbers click on the View Finished Numbers on ServerStatistics Window.

Figure 03: View Numbers Generated

  • To make the application as Client:
    • Click on the Connect to and specify the serverIP and the server port number on the top right corner, and click on GO
    • If there is some server running you will be connected else it will return an error
    • Submit number of tickets you want. "ONE", "TWO" or "THREE"
    • When the game starts you can view the number on CallerBoard
    • Just click on the number, if u got the number. It will be highlighted
    • When you complete First Line or Second Line or Third Line then submit it by clicking the appropriate option on the ticket
    • Ticket will be validated by the server and result will be announced in MessageBox


Figure 04: Client Interface

feedback.javasourcecode@gmail.com with Subject Line as Thambola:Feedback

bugs.javasourcecode@gmail.com with Subject Line as THAMBOLA: Bugs

download.javasourcecode@gmail.com with Subject Line as THAMBOLA: Code Download

Mail this Page to Your Friend click here

Stay tuned with this Site to get Lots of updates on this application




Tuesday, April 04, 2006

New Clock Field in Java !!

This site has been moved to http://www.99applications.com
To download code/application click the following link 99applications.com/java_programs and you can also find many c and c plus plus common programs in C & C++ section


Visit http://freesourcecode.blogspot.com for more programmes like, Thambola, Housie, Love Calculator, Friendship Calculator, FLAMES, Animations, Digital Number, Sudoku.java, Clock Field. - Java.



This is new Java Field just like other, TextField, labels or any UI objects. This Clock field extends the JLabel component and has all the functionality of a label with added functionality of displaying the time in different fashions like

HH:MM:SS AM/PM LOCALE
HH:MM AM/PM
HH:MM:SS AM/PM
HH:MM ( 24hr Clock )
HH:MM:SS ( 24hr Clock with Seconds )

As it is extended from JLabel, we can change the font, size of the label, background, foreground and etc. etc.

Its usage is also very simple like JLabel, creating an object of ClockField and adding it to the Panel in the UI, and setting its bounds ( to place it at our convinient place ).

To start the clock tickering, just call the function "showClock" of ClockField.

Now it Starts...

Download the ClockField.java and Test.java Source code for free here..

To Test the Program, Read the ReadMe.txt given with Sourcecode.

Below are some screen shots depicting the above explanation :P

Different Clock Styles
HH:MM:SS AM/PM LOCALE Started.All Different Styles of Displaying Started...

Give Feedback for Improvement.