Giter VIP home page Giter VIP logo

feup-plog-proj's Introduction

Hi there 👋, my name is Gonçalo Marantes

Informatics and Computer Engineering Student @ FEUP

Hello dear web traveller, welcome to my humble github profile. Here you will see great things as well as some disturbing stuff, so take care.

Github Stats

Marantesss's github stats

Currently working on

ReadMe Card

Find me at

github linkedin instagram twitter website

Stalker counter

Profile views

feup-plog-proj's People

Contributors

marantesss avatar simao-santos avatar

Watchers

 avatar  avatar

feup-plog-proj's Issues

Create rules for pieces

This one is tricky, just start doing it and then ask the professor for help!

Edit: Maybe it is a good idea to try an OOP approach and create a specific module for a piece.

Adding pieces to board

Create functions in pieces.pl to add a piece to the board, given coordinates in a (A, 1) and (C, 4) fashion.

Pawn canMove when first placed

possivelmente chamar o move quando se coloca a peça no tabuleiro. mas nao sei se funcemina assim. ou fazer um predicado para o canPlace tendo em conta de quando é o peao por exemplo. just tinking

Fix 'notAdjacent' for pieces of the same color

There is no need to verify all cases because the piece will always be in the middle of the board, because after placing the board will always rearrange itself

Adjacent must only be true when comparing pieces of the same color.

Board display

Same as print board from first project with only some slight changes 👍

Get the possible moves array given a piece and a board

Given a specific piece and a board, get an array containing the coordinates of all possible cells the piece can be placed

WARNING: Said piece might not be placed in the board, so be careful in the case that it is being placed because it cannot be placed in the opposing king's boarders.

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.