Giter VIP home page Giter VIP logo

plsql-game's Introduction


A mini-game in PL/SQL

Table of Contents
  1. About The Project
  2. Built With
  3. Getting Started
  4. Usage
  5. Roadmap

About The Project


This project is a console mini-game whose code is written in oriented-object PL/SQL. I haven't found the idea of the game yet, but I already made the linker between the database and Windows console.

The linker is an independent program written in Pascal language. It sends inputs from the console to the database, and it prints to the console data received from the database.

Why?

This project is really useless, but I like making improbable things, so it's just for the challenge! (and learning more about PL/SQL and Oracle Database).

(back to top)

Built With

Game Logic

I/O Linker

  • Pascal language

(back to top)

Getting Started

A guide to know how to setup both the linker and the database.

Prerequisites

Installation

Note: currently, not all necessary source files are uploaded on the repository.

Database-side:

  • Import and execute each PL/SQL script in the right order:
    This will create a dedicated user with necessary permissions for the game code; setup database schema (table, etc.); and compile the game code.

I/O Linker:

  1. Open the project in Lazarus IDE.
  2. In Connection.pas, set your connection infos:
    con.hostname := '?';
    con.username := '?';
    con.password := '?';
    con.databasename := '?';
  3. Build the project.

(back to top)

Usage

Be sure that your database is running, then launch the linker. The game should start if the connection to the database was successful.

(back to top)

Roadmap

  • I/O Linker.
  • Database-side:
    • Console API to handle received input and various printing functions.
  • Game logic and gameplay.

(back to top)

plsql-game's People

Contributors

akwd22 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

plsql-game's Issues

Empty the tables when connecting to the database

Tables must be emptied when connecting to the database from the linker to not keep data from a previous game.

Solutions:
A trigger can't be used as commit in it is impossible.

  • Tempory table,
  • Global tempory table,
  • ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.