473,320 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

KPGN display for Khmer Chess using Java Script.


This is our first Java Script. You are inivited to view it
at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.

Any feed back can be sent to da************@yahoo.com or
post the following up here.

Thank and Regards.
Jan 16 '08 #1
4 2167
Tuy Solang wrote:
This is our first Java Script. You are inivited to view it
at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.
As a person who just runs into the site....

After a LOOONNNNGGG pause, is draws stuff - but no images yet.

Then it starts making a noise. At that point I'm outta here! (even
though I want to help).

1) Make it load in 10% of the time. Remember approx half of internet
users worldwide are still on dial-up.
2) Turn the sound OFF by default. Your visitor might be at work!

Regards

Ian
Jan 21 '08 #2
rf

"Ian Hobson" <ia********@ntlworld.comwrote in message
news:ae*******************@newsfe6-gui.ntli.net...
Tuy Solang wrote:
>This is our first Java Script. You are inivited to view it
at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.
As a person who just runs into the site....

After a LOOONNNNGGG pause,
while your browser downloads *six megabytes* of .mp3. Totally outrageous.
is draws stuff - but no images yet.
All the images (of the chess men), are BMP's. Images on a web page should
NOT be BMP's.

We don't know how big the BMP's are because each one is a 404.
Then it starts making a noise. At that point I'm outta here! (even though
I want to help).
Ditto. A good site to stay away from.
--
Richard.
Jan 21 '08 #3
"rf" <rf@invalid.comwrote in message
news:YA*****************@news-server.bigpond.net.au...
>
"Ian Hobson" <ia********@ntlworld.comwrote in message
news:ae*******************@newsfe6-gui.ntli.net...
Tuy Solang wrote:
This is our first Java Script.
I stopped reading here! One's first can hardly be any good.
You are inivited to view it at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.
As a person who just runs into the site....

After a LOOONNNNGGG pause,

while your browser downloads *six megabytes* of .mp3. Totally outrageous.
is draws stuff - but no images yet.

All the images (of the chess men), are BMP's. Images on a web page should
NOT be BMP's.

We don't know how big the BMP's are because each one is a 404.
Then it starts making a noise. At that point I'm outta here! (even
though
I want to help).

Ditto. A good site to stay away from.
--
Richard.


Jan 21 '08 #4
Ian Hobson <ia********@ntlworld.comwrites:

Hi Ian,

Thanks for suggestion.

I don't know how to to do what you have suggested above.
However I will convert those BMP files(2kb) each to jpeg.

How to turn off the music or download on demand?
Here is the code for the music.

</head><body>
<embed nosave="false" loop="true" width="172" height="128" src="M0247.mp3">
<embed nosave="false" loop="true" width="172" height="128" src="M0248.mp3">
</body></html>

The reason that I put the music along is that most of the players
gathered at the barbershop everywhere in Cambodia to play chess.
And these two singers who were murdered by the khmer rouge had this
song about the lives of the barbers/hair dressers. And as I grew up
over there, I spent a lot of time at the barbershop playing chess.

Tuy Solang wrote:
This is our first Java Script. You are inivited to view it
at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.
As a person who just runs into the site....

After a LOOONNNNGGG pause, is draws stuff - but no images yet.

Then it starts making a noise. At that point I'm outta here! (even
though I want to help).

1) Make it load in 10% of the time. Remember approx half of internet
users worldwide are still on dial-up.
2) Turn the sound OFF by default. Your visitor might be at work!
>
Regards

Ian
Jan 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Elaine Jackson | last post by:
I'm about to tackle tkinter, but here's the thing: The only kind of GUI I want to work on is a chessboard (an 8x8 grid of images that can be "moved around"). So before I start, I'm asking the room...
5
by: derian | last post by:
Do you guys know if there is a program that can generate chess moves? I recently wrote a chess game but its only 2 player... I deceided it was too difficult to come up with the logic for the AI...
1
by: Sithy | last post by:
Dear All, Currently we are working on a project by using Visual Studio.net as an interface, MS-SQL as data store, and ReportViewer 8 as data view. We want to display our local unicode...
2
tpgames
by: tpgames | last post by:
I have a question: does anyone know of a Java Script (not java) chess game in which the IA is actually intelligent? The one on my site is not intelligent, as I almost beat the computer. I play...
2
by: CoreyWhite | last post by:
When playing games, perhaps the most simple is tic-tac-toe. The game has two simple strategies, one is defensive and the other offensive. It is not hard at first to learn how to tie games when...
10
by: sam_cit | last post by:
Hi Everyone, I'm working on developing a chess game and i decided to use c++ for its object oriented approach. I have a bass class unit and is inherited to distinct number of units (like king,...
7
by: needhelp20 | last post by:
how to make a appropriate move for each pawns? I knew that I should used some HashMap or classes for every pawn,but I don't know how to implement in code... Here is my code: import java.awt.*;...
7
by: imtmub | last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted. Check this page for reference....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.