LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old
Rating: 2 votes, 3.00 average.

Simple Hangman Game

Posted 09-16-2008 at 06:35 AM by ghostdog74

I was so bored today, that i created this simple hangman game to entertain myself. Makes use of a dictionary file called "english" to get random word to guess. No fancy stuff like drawing the man, only number of tries (set to 10)

Code:
#!/bin/bash

awk  'BEGIN{
    dictfile="english"
    l="abcdefghijklmnopqrstuvwxyz"
    while (1) {
        srand()
        lm=split(l,letters,"")
...
Senior Member
Posted in Uncategorized
Views 1527 Comments 0 ghostdog74 is offline
Old
Rating: 2 votes, 3.00 average.

How did we live before the internet?

Posted 02-23-2009 at 03:19 AM by bitpicker (Bitpicker's Blog: Random musings and rants)
Updated 02-23-2009 at 03:23 AM by bitpicker

This isn't so much about Linux today as about the internet. Just yesterday I had one of those moments where I wondered how I ever got through life when there was no internet.

Last November I decided to take up learning Russian. I went for the traditional approach first, got myself a couple of books for self-teaching and took off. Only the books wouldn't get me very far, and they did not quite fit my style of learning, which is more geared towards immersion and using a language rather...
Member
Posted in Uncategorized
Views 2997 Comments 0 bitpicker is offline
Old
Rating: 5 votes, 3.00 average.

My Thoughts, so the synapse are not all linked. :)

Posted 03-02-2009 at 02:45 PM by onebuck
Updated 08-13-2014 at 10:12 AM by onebuck (typo)

Hi,

I don't blog that often. To date I have not had a blog! I do read some blogs but the composition along with grammar tends to turn me off. Add in spelling, netspeak or AOL type entries and you will loose me.

I work with the 'Slackware-Links' wiki. More than just Slackware® links! This wiki has been a interesting creation. To date it requires a lot of my time. I do hope it provides useful tools, links and even GNU/Linux to the multiple users.

Those who know...
Moderator
Posted in Uncategorized
Views 6002 Comments 2 onebuck is offline
Old
Rating: 2 votes, 3.00 average.

Uhoh... ethernet card problems again...

Posted 03-30-2009 at 01:41 PM by shannonbay

So it turns out Slack 12.2 didn't really fix the card. However I found a driver (tg3) on Hardware4Linux.info so will try modprobe -vv tg3 next time eth0 disappears. Not sure if I would need to do anything else. If all else fails, perhaps it's a firmware issue as suggested.

Have downloaded the ATI vga module, will set that up later.

I forgot to mention that I figured out how to make lilo boot straight into Slackware - just comment out 'prompt' in lilo.conf and then...
LQ Newbie
Posted in Uncategorized
Views 995 Comments 0 shannonbay is offline
Old
Rating: 2 votes, 3.00 average.

Hardware update

Posted 04-04-2009 at 04:44 PM by shannonbay
Updated 04-04-2009 at 04:45 PM by shannonbay

Got my mouse scroll wheel working. Just uncomment the following line in /etc/X11/xorg.conf:
Code:
Option: "Protocol" "Auto"
As for the network card, it's still coming up dead on some bootups, but I discovered that it probably is a firmware issue. In my BIOS POST logs, there are regular occurrences of an NIC Failure. Will have to hunt around for firmware. It was suggested to me that power management might have something to do with it, but I didn't notice any...
LQ Newbie
Posted in Uncategorized
Views 1463 Comments 0 shannonbay is offline

  



All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration