FOOBILLARD(6)

๐Ÿ“ฆ version 3.0a, in fedora 43, fedora 44

๐ŸŽฑ FOOBILLARD ๐ŸŽฑ

okay so bestie, welcome to the manual page for foobillard โ€” it's a section 6 page, so it lives in the Games Manual corner of your system. Grab a snack, we're going through it all ๐Ÿ’–


โœจ NAME โœจ

foobillard โ€” an OpenGL billard game ๐ŸŽฑ๐Ÿ’…


โœจ SYNOPSIS โœจ

foobillard [options]

โœจ DESCRIPTION โœจ

So here's the tea: FooBillard is an OpenGL billard game for Linux ๐Ÿงโœจ. It's still under development, but the main physics are already implemented. And like โ€” if you're a billard-pro and you're sitting there like "um where are the physics I need", please, contact the author. They want to hear from you ๐Ÿซถ


โœจ OPTIONS โœจ

  • --p1 ai|human, --player1 ai|human โ€” sets player1 to be an ai (that's the computer, bestie ๐Ÿค–) or a human player.
  • --p2 ai|human, --player2 ai|human โ€” same deal, but for player2. ai or human, your call ๐Ÿ’…
  • --name1 NAME โ€” sets player1's name to NAME. Give them main character energy ๐Ÿ‘‘
  • --name2 NAME โ€” sets player2's name to NAME. Yes, they get one too ๐Ÿ’–
  • --8ball โ€” play a game of 8-ball.
  • --9ball โ€” play a game of 9-ball.
  • --carambol โ€” play a game of carambol.
  • --snooker โ€” play a game of snooker.
  • --tablecolor COLOR โ€” table color, in C-style hex notation <0xrrggbb>.
  • --edgecolor COLOR โ€” edge color, also in C-style hex notation <0xrrggbb>.
  • --chromeblue โ€” blue table with chrome edges. It's giving very sleek โœจ
  • --goldgreen โ€” green table with gold edges. Fancy fr fr ๐Ÿ’›
  • --goldred โ€” red table with gold edges. Obsessed.
  • --blackwhite โ€” black table with a white frame. Monochrome moment ๐Ÿ–ค๐Ÿค
  • --blackbeige โ€” beige table with black metal.
  • --tablesize NUM โ€” sets the table size (that's the length) in foot to NUM. Default is 7.0 ๐Ÿ“
  • --lensflare, --nolensflare โ€” turns lensflare on or off. Sparkle toggle, basically โœจ
  • --poslight โ€” use positional light.
  • --dirlight โ€” use directional light.
  • --ai1err NUM โ€” sets the errorlevel of the 1st ai player to NUM (0..1).
  • --ai2err NUM โ€” sets the errorlevel of the 2nd ai player to NUM (0..1).
  • --balldetail l|m|h โ€” sets the ball detail to [l]ow, [m]edium or [h]igh.
  • --rgstereo โ€” starts the game in stereo mode (red-green(cyan)) ๐ŸŒˆ
  • --hostaddr HOST โ€” play a network game with HOST as server. The NETWORK GAMES section down below has the details ๐Ÿ‘€
  • --portnum PORT โ€” use PORT for the TCP connection. Again, NETWORK GAMES below, bestie.
  • --geometry ARG โ€” sets the window geometry to ARG (WIDTHxHEIGHT).
  • --fullscreen โ€” play in fullscreen mode. Immersive queen behavior ๐Ÿ’…
  • --freemove ARG โ€” turns free move in external view mode on or off.
  • --cuberef ARG โ€” turns rendered cubemap reflections on or off.
  • --cuberes ARG โ€” texture size for cuberef (has to be a power of 2 โš ๏ธ like, it has to).
  • --bumpref ARG โ€” turns bumpmap reflections of edges on or off.
  • --balltraces ARG โ€” turns balltraces on or off.
  • --help โ€” shows an overview of available options. The classic ๐Ÿซถ

๐ŸŽฎ CONTROLS ๐ŸŽฎ

Here's the whole rundown of the keyboard/mouse functions available in FooBillard, and yes, we're doing all of them:

  • Mouse moving + button1 โ€” rotate
  • Mouse moving + button2 โ€” zoom
  • Mouse moving + hold b2 after b1 โ€” place cue ball
  • Mouse moving + hold b1 after b2 โ€” adjust effet
  • No mouse move + b1 after b2 โ€” toggle cue view on/off
  • Mouse moving + button2 + Ctrl โ€” FOV - adjust
  • Mouse moving + button1 + Shift โ€” place cue ball (when active)
  • Mouse moving + button2 + Shift โ€” cue offset adjust
  • Mouse button 3 โ€” shoot
  • <space> or <enter> โ€” shoot
  • <up>, <down> โ€” adjust strength
  • <pg up>, <pg down> โ€” adjust strength
  • <left>, <right> โ€” rotate
  • <ESC> โ€” end game
  • <0> โ€” suggest AI-shot
  • <a> โ€” toggle current player AI/human
  • <n> โ€” restart game
  • <b> โ€” show FPS
  • <v> โ€” turn vertical help-line on/off
  • <c>, <F3> โ€” toggle cue view on/off
  • <f>, <F4> โ€” toggle free move mode
  • <r> โ€” toggle simpler reflections
  • <s> โ€” toggle red/green stereo
  • <F1> โ€” toggle help screen
  • <F2> โ€” birdview (same as <F3>+<F4>+centered pos)

๐Ÿ“ CONFIG FILE ๐Ÿ“

Good news: you can place a config file named .foobillardrc in your home directory ๐Ÿ โœจ

That file can contain all possible commandline arguments โ€” but without the preceding dashes, and one line for each argument.

And here's the important bit: commandline parameters are parsed after reading the config file, so they override the .foobillardrc settings. Commandline stays winning, periodt ๐Ÿ’…


๐ŸŒ NETWORK GAMES ๐ŸŒ

Wanna play over the network with your bestie? Here's how:

  1. Hit <ESC> to get to the menu,
  2. Select <Network Game>/<As Host> on one computer and <Network Game>/<Join>/<OK> on the other machine after having set the proper IP in <Network Game>/<Join>/<IP>.
  3. The <Network Game>/<Port> setting must be the same on both machines. Both. Same. No cap โš ๏ธ

The IP of the host machine can also be set on the client machine (the joining one), by adding hostaddr=IP-ADDR in the config file (see below), or by passing it as commandline option: --hostaddr=IP-ADDR

Starting from menu, the host sends its gamestate variables to the client, so every clienside settings get overriden by the host (gametype, tablesize, player names, ...). Host is the main character here, sorry ๐Ÿ’€

The data sent between the two computers are only the shot-data, like strength, cue offset and direction. So if the two machines have a different internal floating point accuracy, the games may drift apart after a certain amount of time. Yeah. That's a real caveat, not me being dramatic ๐Ÿ˜ญ


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

FooBillard homepage: http://foobillard.sunsite.dk/


๐Ÿ’œ AUTHOR ๐Ÿ’œ

FooBillard was written by Florian Berger <harpin_floh@yahoo.de> ๐Ÿ‘‘

This manpage was written by Wouter Eerdekens <retuow@xs4all.be> for the Debian GNU/Linux system (but may be used by others). Legend behavior, honestly ๐Ÿซถ


and that's the whole page bestie ๐Ÿ’– it's a section 6 Games Manual page, and the footer at the very bottom just says FOOBILLARD(6) all over again โ€” no extra version or date tea in there, so that's genuinely all she wrote ๐ŸŒธ๐ŸŽ€๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from