Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytyhuang committed Jan 16, 2021
0 parents commit a1eb8e4
Show file tree
Hide file tree
Showing 962 changed files with 158,645 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build Targets

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
blank-directory: ./UbiGame_Blank
bird-directory: ./UbiGame_FlappBird

jobs:
build_macOS:

runs-on: macOS-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build Blank
working-directory: ${{env.blank-directory}}
run: make
- name: Build FlappBird
working-directory: ${{env.bird-directory}}
run: make

build_windows:

runs-on: windows-latest

strategy:
matrix:
buildconfig: [Debug, Release]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1

- name: Build Blank
working-directory: ${{env.blank-directory}}
run: msbuild /m /p:Configuration=${{matrix.buildconfig}} UbiGame.sln

- name: Build FlappBird
working-directory: ${{env.bird-directory}}
run: msbuild /m /p:Configuration=${{matrix.buildconfig}} UbiGame.sln

14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Mac OS files
*/.DS_Store

#Temporary files
*.o
*/output
UbiGame_Blank/bin
UbiGame_Blank/tmp
UbiGame_FlappBird/bin
UbiGame_FlappBird/tmp

#Visual Studio Meta data
UbiGame_Blank/.vs
UbiGame_FlappBird/.vs
Binary file added .vs/ClassPets/v16/.suo
Binary file not shown.
Binary file added .vs/ClassPets/v16/Browse.VC.db
Binary file not shown.
Binary file added .vs/HackersNest-main/v16/.suo
Binary file not shown.
Binary file added .vs/HackersNest-main/v16/Browse.VC.db
Binary file not shown.
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": "No Configurations"
}
7 changes: 7 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
"",
"\\UbiGame_Blank"
],
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 UbisoftToronto

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# HackersNest

[![Build Targets](https://github.com/UbisoftToronto/HackersNest/workflows/Build%20Targets/badge.svg)](https://github.com/UbisoftToronto/HackersNest/actions)

Base framework for the Ubisoft Toronto Hackathon challenges

# HackTheNorth Challenge

Demonstrate your abilities as a game developer and take us on a journey! Our mentors will help you succeed by providing hands on demonstrations, documentation and consultations along the way.

**Please attend our workshop from 5PM to 5:30PM EST on Friday, Jan 15th** and visit our Hopin booth and Discord channel to meet our mentors Radoslaw Malicki, Nikhil Ramburrun, Xavier Sadoulet and Kevin Jeong.

In order to be eligible for the prize, your game must be using our API in C++. You must choose at least **ONE** mechanic/theme from the following list to be included in your game:

* One button game
* 60 second game
* Keep it alive!
* 1 v 1
* Local multiplayer
* Everything is reversed!
* For example, winning is for losers.
* What else can you reverse in a game? Get creative!
* The more you have, the worse it is!
* Pong
* How can you remake this classic arcade game with a twist?

## Documentation

- [Build and Run](https://github.com/UbisoftToronto/HackersNest/wiki/Build-and-Run)
- [Code Overview](https://github.com/UbisoftToronto/HackersNest/wiki/GameEngine-Overview)
- [Step By Step Tutorial](https://github.com/UbisoftToronto/HackersNest/wiki/Step-By-Step-Tutorial)
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/FLAC.framework/FLAC
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Versions/Current/FLAC
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/FLAC.framework/Resources
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Versions/Current/Resources
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>FLAC</string>
<key>CFBundleIdentifier</key>
<string>org.sfml-dev.FLAC</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict>
</plist>
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/FLAC.framework/Versions/Current
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/OpenAL.framework/OpenAL
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Versions/Current/OpenAL
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/OpenAL.framework/Resources
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Versions/Current/Resources
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>OpenAL</string>
<key>CFBundleIdentifier</key>
<string>org.sfml-dev.OpenAL</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array><string>MacOSX</string></array>
</dict>
</plist>
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/OpenAL.framework/Versions/Current
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/SFML.framework/Headers
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Versions/Current/Headers
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/SFML.framework/Resources
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Versions/Current/Resources
1 change: 1 addition & 0 deletions SFML-2.5.0/Frameworks/SFML.framework/SFML
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Versions/Current/SFML
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
//
// 1. The origin of this software must not be misrepresented;
// you must not claim that you wrote the original software.
// If you use this software in a product, an acknowledgment
// in the product documentation would be appreciated but is not required.
//
// 2. Altered source versions must be plainly marked as such,
// and must not be misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.
//
////////////////////////////////////////////////////////////

#ifndef SFML_AUDIO_HPP
#define SFML_AUDIO_HPP

////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////

#include <SFML/System.hpp>
#include <SFML/Audio/InputSoundFile.hpp>
#include <SFML/Audio/Listener.hpp>
#include <SFML/Audio/Music.hpp>
#include <SFML/Audio/OutputSoundFile.hpp>
#include <SFML/Audio/Sound.hpp>
#include <SFML/Audio/SoundBuffer.hpp>
#include <SFML/Audio/SoundBufferRecorder.hpp>
#include <SFML/Audio/SoundFileFactory.hpp>
#include <SFML/Audio/SoundFileReader.hpp>
#include <SFML/Audio/SoundFileWriter.hpp>
#include <SFML/Audio/SoundRecorder.hpp>
#include <SFML/Audio/SoundSource.hpp>
#include <SFML/Audio/SoundStream.hpp>


#endif // SFML_AUDIO_HPP

////////////////////////////////////////////////////////////
/// \defgroup audio Audio module
///
/// Sounds, streaming (musics or custom sources), recording,
/// spatialization.
///
////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
//
// 1. The origin of this software must not be misrepresented;
// you must not claim that you wrote the original software.
// If you use this software in a product, an acknowledgment
// in the product documentation would be appreciated but is not required.
//
// 2. Altered source versions must be plainly marked as such,
// and must not be misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.
//
////////////////////////////////////////////////////////////

#ifndef SFML_ALRESOURCE_HPP
#define SFML_ALRESOURCE_HPP

////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Audio/Export.hpp>


namespace sf
{
////////////////////////////////////////////////////////////
/// \brief Base class for classes that require an OpenAL context
///
////////////////////////////////////////////////////////////
class SFML_AUDIO_API AlResource
{
protected:

////////////////////////////////////////////////////////////
/// \brief Default constructor
///
////////////////////////////////////////////////////////////
AlResource();

////////////////////////////////////////////////////////////
/// \brief Destructor
///
////////////////////////////////////////////////////////////
~AlResource();
};

} // namespace sf


#endif // SFML_ALRESOURCE_HPP

////////////////////////////////////////////////////////////
/// \class sf::AlResource
/// \ingroup audio
///
/// This class is for internal use only, it must be the base
/// of every class that requires a valid OpenAL context in
/// order to work.
///
////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
//
// 1. The origin of this software must not be misrepresented;
// you must not claim that you wrote the original software.
// If you use this software in a product, an acknowledgment
// in the product documentation would be appreciated but is not required.
//
// 2. Altered source versions must be plainly marked as such,
// and must not be misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.
//
////////////////////////////////////////////////////////////

#ifndef SFML_AUDIO_EXPORT_HPP
#define SFML_AUDIO_EXPORT_HPP

////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>


////////////////////////////////////////////////////////////
// Define portable import / export macros
////////////////////////////////////////////////////////////
#if defined(SFML_AUDIO_EXPORTS)

#define SFML_AUDIO_API SFML_API_EXPORT

#else

#define SFML_AUDIO_API SFML_API_IMPORT

#endif


#endif // SFML_AUDIO_EXPORT_HPP
Loading

0 comments on commit a1eb8e4

Please sign in to comment.