mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
rename notcurses-tetris -> nctetris
This commit is contained in:
parent
121f10a9c5
commit
7eafcfe598
@ -560,15 +560,15 @@ target_link_libraries(notcurses-input
|
|||||||
)
|
)
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# notcurses-tetris
|
# nctetris
|
||||||
file(GLOB TETRISSRC CONFIGURE_DEPENDS src/tetris/*.cpp)
|
file(GLOB TETRISSRC CONFIGURE_DEPENDS src/tetris/*.cpp)
|
||||||
add_executable(notcurses-tetris ${TETRISSRC})
|
add_executable(nctetris ${TETRISSRC})
|
||||||
target_include_directories(notcurses-tetris
|
target_include_directories(nctetris
|
||||||
PRIVATE
|
PRIVATE
|
||||||
include
|
include
|
||||||
"${PROJECT_BINARY_DIR}/include"
|
"${PROJECT_BINARY_DIR}/include"
|
||||||
)
|
)
|
||||||
target_link_libraries(notcurses-tetris
|
target_link_libraries(nctetris
|
||||||
PRIVATE
|
PRIVATE
|
||||||
notcurses++
|
notcurses++
|
||||||
)
|
)
|
||||||
@ -770,7 +770,7 @@ install(FILES ${MARKDOWN} DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
|||||||
|
|
||||||
install(TARGETS notcurses-demo DESTINATION bin)
|
install(TARGETS notcurses-demo DESTINATION bin)
|
||||||
install(TARGETS notcurses-input DESTINATION bin)
|
install(TARGETS notcurses-input DESTINATION bin)
|
||||||
install(TARGETS notcurses-tetris DESTINATION bin)
|
install(TARGETS nctetris DESTINATION bin)
|
||||||
if(NOT ${USE_MULTIMEDIA} STREQUAL "none")
|
if(NOT ${USE_MULTIMEDIA} STREQUAL "none")
|
||||||
install(TARGETS ncneofetch DESTINATION bin)
|
install(TARGETS ncneofetch DESTINATION bin)
|
||||||
install(TARGETS ncls DESTINATION bin)
|
install(TARGETS ncls DESTINATION bin)
|
||||||
|
3
NEWS.md
3
NEWS.md
@ -1,6 +1,9 @@
|
|||||||
This document attempts to list user-visible changes and any major internal
|
This document attempts to list user-visible changes and any major internal
|
||||||
rearrangements of Notcurses.
|
rearrangements of Notcurses.
|
||||||
|
|
||||||
|
* 2.1.8 (not yet released):
|
||||||
|
* The `notcurses-tetris` binary has been renamed `nctetris`.
|
||||||
|
|
||||||
* 2.1.7 (2021-01-21):
|
* 2.1.7 (2021-01-21):
|
||||||
* Notcurses has been split into two libraries, `notcurses-core` and
|
* Notcurses has been split into two libraries, `notcurses-core` and
|
||||||
`notcurses`. The latter contains the heavyweight multimedia code,
|
`notcurses`. The latter contains the heavyweight multimedia code,
|
||||||
|
@ -131,13 +131,13 @@ may well be possible to use still older versions. Let me know of any successes!
|
|||||||
## Included tools
|
## Included tools
|
||||||
|
|
||||||
Seven binaries are installed as part of Notcurses:
|
Seven binaries are installed as part of Notcurses:
|
||||||
* `notcurses-demo`: some demonstration code
|
|
||||||
* `ncls`: an `ls` that displays multimedia in the terminal
|
* `ncls`: an `ls` that displays multimedia in the terminal
|
||||||
* `ncneofetch`: a [neofetch](https://github.com/dylanaraps/neofetch) ripoff
|
* `ncneofetch`: a [neofetch](https://github.com/dylanaraps/neofetch) ripoff
|
||||||
* `ncplayer`: renders visual media (images/videos)
|
* `ncplayer`: renders visual media (images/videos)
|
||||||
|
* `nctetris`: a tetris clone
|
||||||
|
* `notcurses-demo`: some demonstration code
|
||||||
* `notcurses-input`: decode and print keypresses
|
* `notcurses-input`: decode and print keypresses
|
||||||
* `notcurses-tester`: unit testing
|
* `notcurses-tester`: unit testing
|
||||||
* `notcurses-tetris`: a tetris clone
|
|
||||||
|
|
||||||
To run `notcurses-demo` from a checkout, provide the `tests/` directory via
|
To run `notcurses-demo` from a checkout, provide the `tests/` directory via
|
||||||
the `-p` argument. Demos requiring data files will otherwise abort. The base
|
the `-p` argument. Demos requiring data files will otherwise abort. The base
|
||||||
|
@ -32,12 +32,12 @@
|
|||||||
<a href="ncls.1.html">ncls</a>—list files, displaying multimedia along with them<br/>
|
<a href="ncls.1.html">ncls</a>—list files, displaying multimedia along with them<br/>
|
||||||
<a href="ncneofetch.1.html">ncneofetch</a>—generate low-effort posts for r/unixporn<br/>
|
<a href="ncneofetch.1.html">ncneofetch</a>—generate low-effort posts for r/unixporn<br/>
|
||||||
<a href="ncplayer.1.html">ncplayer</a>—renders images and video to a terminal<br/>
|
<a href="ncplayer.1.html">ncplayer</a>—renders images and video to a terminal<br/>
|
||||||
|
<a href="nctetris.1.html">nctetris</a>—Tetris in a terminal<br/>
|
||||||
<a href="notcurses-demo.1.html">notcurses-demo</a>—shows off some notcurses features<br/>
|
<a href="notcurses-demo.1.html">notcurses-demo</a>—shows off some notcurses features<br/>
|
||||||
<a href="notcurses-direct-pydemo.1.html">notcurses-direct-pydemo</a>—validates the Python direct-mode wrappers<br/>
|
<a href="notcurses-direct-pydemo.1.html">notcurses-direct-pydemo</a>—validates the Python direct-mode wrappers<br/>
|
||||||
<a href="notcurses-input.1.html">notcurses-input</a>—reads and decodes input events<br/>
|
<a href="notcurses-input.1.html">notcurses-input</a>—reads and decodes input events<br/>
|
||||||
<a href="notcurses-pydemo.1.html">notcurses-pydemo</a>—validates the Python wrappers<br/>
|
<a href="notcurses-pydemo.1.html">notcurses-pydemo</a>—validates the Python wrappers<br/>
|
||||||
<a href="notcurses-tester.1.html">notcurses-tester</a>—unit test driver<br/>
|
<a href="notcurses-tester.1.html">notcurses-tester</a>—unit test driver<br/>
|
||||||
<a href="notcurses-tetris.1.html">notcurses-tetris</a>—Tetris in a terminal<br/>
|
|
||||||
<div style="float:left">
|
<div style="float:left">
|
||||||
<h3>C library (section 3)</h3>
|
<h3>C library (section 3)</h3>
|
||||||
<a href="notcurses_capabilities.3.html">notcurses_capabilities</a>—runtime capability detection<br/>
|
<a href="notcurses_capabilities.3.html">notcurses_capabilities</a>—runtime capability detection<br/>
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
% notcurses-tetris(1)
|
% nctetris(1)
|
||||||
% nick black <nickblack@linux.com>
|
% nick black <nickblack@linux.com>
|
||||||
% v2.1.7
|
% v2.1.7
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
notcurses-tetris - Render images and video to a terminal
|
nctetris - Render images and video to a terminal
|
||||||
|
|
||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
|
|
||||||
**notcurses-tetris** [**-h|--help**] [**-l loglevel**]
|
**nctetris** [**-h|--help**] [**-l loglevel**]
|
||||||
|
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
|
|
||||||
**notcurses-tetris** implements Tetris using notcurses.
|
**nctetris** implements Tetris using Notcurses.
|
||||||
|
|
||||||
The goal is to complete horizontal lines, without allowing tetriminos to
|
The goal is to complete horizontal lines, without allowing tetriminos to
|
||||||
reach the top of the screen. The falling tetrimino can be rotated counter-
|
reach the top of the screen. The falling tetrimino can be rotated counter-
|
@ -19,5 +19,5 @@ Run, using `valgrind --tool=memcheck --leak-check=full`:
|
|||||||
terminal geometries: square, tall, wide
|
terminal geometries: square, tall, wide
|
||||||
* `notcurses-demo` with margins
|
* `notcurses-demo` with margins
|
||||||
* `notcurses-demo` with FPS plot and HUD up
|
* `notcurses-demo` with FPS plot and HUD up
|
||||||
* Play a game of `notcurses-tetris`
|
* Play a game of `nctetris`
|
||||||
* Run each PoC binary, including `ncpp_build` and `ncpp_build_exceptions`
|
* Run each PoC binary, including `ncpp_build` and `ncpp_build_exceptions`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user