Giter Site home page Giter Site logo

albert-tarkaa / gpl Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 209 KB

Graphical Programming Language project for Leeds Beckett University - Advanced Software Engineering 2023/2024

License: MIT License

C# 100.00%
advanced-software-engineering commandpattern unit-testing leeds-beckett-university xml-documentat

gpl's Introduction

Graphical Programming Language Application - GPL

Introduction

This README document provides an overview of the Graphical Programming Language Application, outlining its key features, design principles, and requirements.

Table of Contents

  1. Design Principles
  2. Version Control
  3. Graphical User Interface
  4. Command Parser Class
  5. Basic Drawing Commands
  6. Colors and Fills
  7. Artificial Intelligence and Libraries

Design Principles

  1. The program is designed using inheritance and design patterns to allow easy addition of commands without affecting existing code.

Version Control

  1. A preferred Version Control System (e.g., Git) is set up, and the assignment specification and relevant documents are committed to it within the first two weeks of the term, before Monday morning 9 am in week 3.

Graphical User Interface

  1. The graphical user interface features:
    • A command input area for receiving individual program commands.
    • An area for receiving a complete program.
    • An area for graphical program output.
    • Buttons for running a program and performing a syntax check.

Command Parser Class

  1. Command Parser Class functionalities include:
    • Reading and executing commands on the command line one at a time.
    • Reading a program (from the program window) and executing it with a "run" command.
    • Saving and loading a program to/from a text file.
    • Syntax checking for valid commands and parameters, reporting errors using exceptions.

Basic Drawing Commands

  1. Basic drawing commands are case insensitive and include:
    • Each command is considered functional if:
      • at least one commit with good description
      • full XML documentation
      • a Unit Test
      • XML Documentation for the Unit Test
      • At least one commit for Unit Test
    • Positioning the pen (moveTo).
    • Drawing with the pen (drawTo).
    • Clearing the drawing area (clear command).
    • Resetting the pen to the initial position at the top left of the screen (reset command).
    • Drawing basic shapes:
      • Rectangle <width>, <height>.
      • Circle <radius>.
      • Triangle (implementation may vary).
    • Color and fill commands:
      • Pen <color> (e.g., pen red, pen green, supports multiple colors).
      • Fill <on/off> (e.g., fill on, enabling subsequent shape operations).

Colors and Fills

  1. Colors and fills are supported in the application. Drawing commands can be customized with different colors and fill options.

Artificial Intelligence and Libraries

  1. In the video demo, the usage of any artificial intelligence components and external libraries must be explained. It's acceptable to use libraries and tools to enhance productivity, but a clear understanding of their use is required. The overview should cover:
    • Non-standard libraries utilized.
    • AI tools employed.
    • Third-party code integrated.

Conclusion

This README provides an overview of the Graphical Programming Language Application, highlighting its design principles, features, and the importance of version control. The application allows for the creation and execution of graphical programs using a variety of drawing commands, colors, and fills, while also emphasizing the need for clear documentation and understanding of any external libraries or tools employed.

Acknowledgment of ChatGPT Use

I would like to acknowledge the use of ChatGPT- a language model developed by OpenAI, in structuring this README on October 9, 2023.

Note: While ChatGPT is a valuable tool for generating content, it's important to review and customize the generated content to ensure it aligns with the specific needs and goals of your project.


gpl's People

Contributors

albert-tarkaa avatar

Watchers

 avatar  avatar

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.