OOo Basic crash course: Creating a simple game using strings in a database


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News OOo Basic crash course: Creating a simple game using strings in a database
# 1  
Old 04-02-2008
OOo Basic crash course: Creating a simple game using strings in a database

Wed, 02 Apr 2008 08:00:00 GMT
Just because OpenOffice.org Basic is designed to automate mundane tasks doesn't mean that you must use it only for serious work. It's a programming language after all, and nothing stops you from using it to write something fun. Today we'll use it write a simple game where you have to guess a word, a letter at a time, from among words you've stored in a Base database. Although this is not a particularly sophisticated game, it contains a couple of string manipulation techniques and a clever trick for picking a random record from a database, which you might find useful when writing your own macros.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Creating a text based game using shell script.

Hello guys I'm new to shell scripting and I need to make a game using shell script. I want to know if it is possible for me a total noob to shell scripting to make this game. The game concept is simple: First thing when you launch the script you get a menu in which you select if you want to... (3 Replies)
Discussion started by: Othmane
3 Replies

2. Shell Programming and Scripting

Bash Script for "simple" racing game.

Hello All, I was wondering if it would be possible to create a "racing" game in script. The game play would be as follows. Script will read the following input: Start |b| | | | | |r| | | | | First player (b) will roll a die to see how many spaces to move. This is will continue until the... (0 Replies)
Discussion started by: jl487
0 Replies

3. Programming

Problems using Perl DBI to edit database entries - basic stuff

Hello. I am taking a Perl class in college and we've briefly covered SQL and moved on. We have a term project and we can do whatever we want. My project will rely strongly on an SQL Database so I am trying to learn as much about Perl DBI as I can to get things up and going. I am basically... (1 Reply)
Discussion started by: Dave247
1 Replies

4. OS X (Apple)

[launchd] Creating a basic firewall

Hi, I'm trying to use launchd to detect whether certain ports are opened and if they are then to take some appropriate action, e.g. close the port or, worst case scenario, down the whole net connection. Apparently, force closing a port is not possible without killing the offending binary so... (3 Replies)
Discussion started by: ASGR
3 Replies

5. Programming

Creating a basic UNIX shell script for chatting

Hey guys, This is quite simply what I'm trying to make: A program that runs in a UNIX terminal that you can output text messages to from another machine. These text messages would be prepended with a customized prompt. I'd also like to have the window spew out random dumps of flavor text not... (1 Reply)
Discussion started by: AcerAspirant
1 Replies

6. UNIX for Advanced & Expert Users

Creating database in shell, how?!

Hi, i'm newbie in Unix. How can i create my own database in unix shell? Not to create a database through shell to MySql, oracle etc, but to create a completely mine database system through shell. Please help me, give me directions, i'm desperate :( (1 Reply)
Discussion started by: vants
1 Replies
Login or Register to Ask a Question
Dist::Zilla::PluginBundle::Basic(3pm)			User Contributed Perl Documentation		     Dist::Zilla::PluginBundle::Basic(3pm)

NAME
Dist::Zilla::PluginBundle::Basic - the basic plugins to maintain and release CPAN dists VERSION
version 4.300020 DESCRIPTION
This plugin is meant to be a basic "first step" bundle for using Dist::Zilla. It won't munge any of your code, but will generate a Makefile.PL and allows easy, reliable releasing of distributions. It includes the following plugins with their default configuration: o Dist::Zilla::Plugin::GatherDir o Dist::Zilla::Plugin::PruneCruft o Dist::Zilla::Plugin::ManifestSkip o Dist::Zilla::Plugin::MetaYAML o Dist::Zilla::Plugin::License o Dist::Zilla::Plugin::Readme o Dist::Zilla::Plugin::ExtraTests o Dist::Zilla::Plugin::ExecDir o Dist::Zilla::Plugin::ShareDir o Dist::Zilla::Plugin::MakeMaker o Dist::Zilla::Plugin::Manifest o Dist::Zilla::Plugin::TestRelease o Dist::Zilla::Plugin::ConfirmRelease o Dist::Zilla::Plugin::UploadToCPAN SEE ALSO
Core Dist::Zilla plugins: @Filter. Dist::Zilla roles: PluginBundle, PluginBundle::Easy. AUTHOR
Ricardo SIGNES <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-21 Dist::Zilla::PluginBundle::Basic(3pm)