A realistic Tennis simulation
Free Tennis is a tennis simulation developed by a former tennis player. Its main feature is realism. For gameplay, this means you have total control over the shot parabola. For graphics, it means players have realistic gestures. For AI, it means real tactics. Netplay is available.
With version 0.3.15, the author believes gameplay is complete enough to be judged. However, before you judge it, please become a bit skilled (at least enough to beat the computer in -realistic mode at difficulty 210). At first, the subtle gameplay can go unnoticed.
License: free
Requirements: OCaml Compiler to Build. A precompiled binary for i386 architectures is included as well.
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes | yes |
Submitted by spafbnerf on 2005-10-31.

The only tennis game I have really played was 4D Tennis, back in the 80286 days. I was amazed at the realism of this game, and I actually learned the tennis rules and ways with it, and started to enjoy watching matches on TV. :)
Eric
ocamlopt -I /usr/lib/ocaml/3.08.3/camlimages -I /usr/lib/ocaml/3.08.3/lablGL -I /usr/lib/ocaml/3.08.3/lablgtk2 -I /usr/lib/ocaml/3.08.3/sdl -o freetennis bigarray.cmxa sdl.cmxa lablgtk.cmxa lablgl.cmxa lablgtkgl.cmxa ci_core.cmxa sdlmixer.cmxa sdlttf.cmxa unix.cmxa freetennis.ml File "freetennis.ml", line 25, characters 0-13: Unbound module Sdlevent make: *** [all] Error 2
libcamlimages-ocaml-dev libsdl-ocaml-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev liblablgl-ocaml-dev
All installed.
What is it today? Idiots-onto-the-net-day?
File "freetennis.ml", line 492, characters 8-11: Warning Y: unused variable q02. File "freetennis.ml", line 491, characters 8-11: Warning Y: unused variable qr2. File "freetennis.ml", line 1091, characters 5-8: (...) Warning Y: unused variable clientByName. File "freetennis.ml", line 25, characters 0-13: Unbound module Sdlevent make: *** [all] Error 2 Installed libraries [ebuild R ] dev-lang/ocaml-3.09.0 [ebuild R ] media-libs/libsdl-1.2.9-r1 [ebuild R ] media-libs/sdl-mixer-1.2.6-r1 [ebuild R ] media-libs/sdl-ttf-2.0.7 [ebuild R ] media-libs/sdl-image-1.2.4 [ebuild R ] dev-ml/lablgtk-2.6.0 [ebuild R ] dev-ml/lablgl-1.02 [ebuild R ] dev-ml/ocamlsdl-0.7.2 I got same results with versions in portage or with newest available, Any pointers?
sudo apt-get install libcamlimages-ocaml-dev libsdl-ocaml-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev liblablgl-ocaml-dev
then: make
and everything worked. Might have to do with your version of packages
btw. for me the mouse input only works in fullscreen mode. This mode freezes sometimes my x-screen in a low resolution. I can then only kill gdm by pressing alt-F1 , login, sudo killall gdm
Eric
sudo apt-get install libcamlimages-ocaml-dev libsdl-ocaml-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev liblablgl-ocaml-dev Password: Reading package lists... Done Building dependency tree... Done libcamlimages-ocaml-dev is already the newest version. libsdl-ocaml-dev is already the newest version. libsdl-gfx1.2-dev is already the newest version. libsdl-mixer1.2-dev is already the newest version. libsdl-image1.2-dev is already the newest version. libsdl-ttf2.0-dev is already the newest version. liblablgl-ocaml-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 60 not upgraded.
Serving
TieBreak
Fatal error: exception Freetennis.NotImplemented
oops..
[gijom86@localhost freetennis-0.3.5]$ make ocamlopt -I +camlimages -I +lablGL -I +lablgtk2 -I +sdl -o freetennis bigarray.cmxa sdl.cmxa lablgtk.cmxa lablgl.cmxa lablgtkgl.cmxa ci_core.cmxa sdlmixer.cmxa sdlttf.cmxa unix.cmxa freetennis.ml
File "freetennis.ml", line 1312, characters 26-45:
Unbound value GlGtk.region_of_raw
make: *** [all] Erreur 2
What can I do?
Keep up this good piece of work
Eric