03-04-2020
Update:
Thanks to a few people starting to play (and nezabudka and Ravinder above), I just added the
/score command.
This way, everyone can easily see their overall score (percentage), total correct and total trivia questions answered (Telegram trivia only, does not include any scores / stats from web play).
Now, it
should be even more fun
. Scores!!!
LOL
(... and the scores are all "private" at the moment with no plans to create a public scoreboard at this time....)
This User Gave Thanks to Neo For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Thanks Livin Free...
Here's another one... Why is it that I always get the error message "Error: Can't open display:" in my mail whenever I execute or try to call an xterm command using cron to activate the command. What did I miss? Thanks in advance UNIX gurus... (3 Replies)
Discussion started by: jfsuminist
3 Replies
2. What is on Your Mind?
I'm currently looking into ways to integrate the Telegram API into the forums:
Telegram Bots - Bot Code Examples
I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?).
Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
Discussion started by: Neo
5 Replies
3. What is on Your Mind?
I have added a new experimental "Computer Science and Mathematics Trivia - True or False" section in the discussions, currently under the tags box.
In the future, I plan to
Expand this feature to add more trivia categories from math, science and technology.
Keep track of correct and... (20 Replies)
Discussion started by: Neo
20 Replies
4. What is on Your Mind?
The UNIX and Linux Forums now has over 1000 TRUE / FALSE computer science and computer related trivia question in our database. These questions are of relatively high quality (compared to similar sites on the web) and are fun (according to feedback by users). In the first week during the... (1 Reply)
Discussion started by: Neo
1 Replies
5. What is on Your Mind?
Thanks to Akshay, who helped me write the core MySQL queries, we now have two new draft leaderboards, by (1) member and by (2) country:
https://www.unix.com/trivia_stats.php
Currently milhan leads the members with a high score of 90%:
... (3 Replies)
Discussion started by: Neo
3 Replies
6. What is on Your Mind?
Only a few days after I coded this new feature from scratch, we are seeing over 3000 entries in the database from members (mostly guests) playing CS trivia.
I have spend a lot of time coding this (from scratch) and testing the API. From the logs, it seems to have an API bug which appears... (31 Replies)
Discussion started by: Neo
31 Replies
7. What is on Your Mind?
Today marks another milestone in the computer trivia app:
100,000 Computer Trivia Questions Answered by Users
Some notes to mention at this milestone:
vbe leads the "best score" category with 320 questions answered for an overall score of 91.2%.
rdrtx leads "most questions answered"... (0 Replies)
Discussion started by: Neo
0 Replies
8. What is on Your Mind?
I have just completed the first phase of integrating all these devices and technologies:
MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, and the Arduino Uno
The glue that binds all this together is MQTT. In fact, MQTT makes this kind of integration nearly trivial to... (1 Reply)
Discussion started by: Neo
1 Replies
9. What is on Your Mind?
Just noticed that our successful computer trivia feature (stats here) has surpassed over 50,000 questions answered by users:
https://www.unix.com/trivia_stats.php
This was a coding effort worth while and I'm pleased to see so many people enjoying it in such a short time since it was released... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT DEBIAN
robots
ROBOTS(6) BSD Games Manual ROBOTS(6)
NAME
robots -- fight off villainous robots
SYNOPSIS
robots [-Asjtan] [scorefile]
DESCRIPTION
robots pits you against evil robots, who are trying to kill you (which is why they are evil). Fortunately for you, even though they are
evil, they are not very bright and have a habit of bumping into each other, thus destroying themselves. In order to survive, you must get
them to kill each other off, since you have no offensive weaponry.
Since you are stuck without offensive weaponry, you are endowed with one piece of defensive weaponry: a teleportation device. When two ro-
bots run into each other or a junk pile, they die. If a robot runs into you, you die. When a robot dies, you get 10 points, and when all
the robots die, you start on the next field. This keeps up until they finally get you.
Robots are represented on the screen by a '+', the junk heaps from their collisions by a '*', and you (the good guy) by a '@'.
The commands are:
h move one square left
l move one square right
k move one square up
j move one square down
y move one square up and left
u move one square up and right
b move one square down and left
n move one square down and right
. (also space) do nothing for one turn
HJKLBNYU
run as far as possible in the given direction
> do nothing for as long as possible
t teleport to a random location
w wait until you die or they all do
q quit
^L redraw the screen
All commands can be preceded by a count.
If you use the 'w' command and survive to the next level, you will get a bonus of 10% for each robot which died after you decided to wait.
If you die, however, you get nothing. For all other commands, the program will save you from typos by stopping short of being eaten. How-
ever, with 'w' you take the risk of dying by miscalculation.
Only five scores are allowed per user on the score file. If you make it into the score file, you will be shown the list at the end of the
game. If an alternative score file is specified, that will be used instead of the standard file for scores.
The options are
-s Don't play, just show the score file.
-j Jump, i.e., when you run, don't show any intermediate positions; only show things at the end. This is useful on slow terminals.
-t Teleport automatically when you have no other option. This is a little disconcerting until you get used to it, and then it is very
nice.
-a Advance into the higher levels directly, skipping the lower, easier levels.
-A Auto-bot mode. Lets the game play itself.
-n Increase the number of games played by one.
AUTHOR
Ken Arnold Christos Zoulas (autobot mode)
FILES
/var/games/bsdgames/robots_roll the score file
BUGS
Bugs? You crazy, man?!?
BSD
May 31, 1993 BSD